Navigator: webdriver property
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since May 2018.
The webdriver read-only property
of the navigator interface indicates whether the user agent is
controlled by automation.
It defines a standard way for co-operating user agents to inform the document that it is controlled by WebDriver, for example, so that alternate code paths can be triggered during automation.
The navigator.webdriver property is true when in:
Value
A Boolean
Specifications
| Specification |
|---|
| WebDriver> # dfn-webdriver> |
Browser compatibility
Loading…