1
Fork 0
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:
Linus Groh 2022-10-12 23:52:58 +02:00 committed by Andreas Kling
parent 68006f3e16
commit a982e0380e
3 changed files with 24 additions and 3 deletions

View file

@ -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: