mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:57:44 +00:00
LibWeb: Implement navigator.webdriver
This is defined via the NavigatorAutomationInformation interface mixin from the WebDriver spec: https://w3c.github.io/webdriver/#interface
This commit is contained in:
parent
68006f3e16
commit
a982e0380e
3 changed files with 24 additions and 3 deletions
|
@ -39,6 +39,8 @@ public:
|
|||
// https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-pdfviewerenabled
|
||||
bool pdf_viewer_enabled() const { return false; }
|
||||
|
||||
bool webdriver() const;
|
||||
|
||||
virtual ~Navigator() override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue