Unsere Freiwilligen haben diesen Artikel noch nicht in Deutsch übersetzt. Machen Sie mit und helfen Sie, das zu erledigen!
Sie können den Artikel auch auf English (US) lesen.

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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:

The --enable-automation or the --headless flag is used.
The marionette.enabled preference or --marionette flag is passed.


var isAutomated = navigator.webdriver


A Boolean


Specification Status Comment
The definition of 'webdriver' in that specification.
Living Standard Initial definition.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Chrome Full support 63Edge Full support 12Firefox Full support YesIE ? Opera Full support 50Safari Full support YesWebView Android Full support 63Chrome Android Full support 63Firefox Android Full support YesOpera Android Full support 46Safari iOS Full support YesSamsung Internet Android ?


Full support  
Full support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

Schlagwörter des Dokuments und Mitwirkende

Mitwirkende an dieser Seite: bershanskiy, mdnwebdocs-bot, mfuji09, fscholz, ato, jpmedley
Zuletzt aktualisiert von: bershanskiy,