Automation detection (navigator.webdriver)
Tells whether the browser is controlled by automation, plus other marker checks.
In one line
Can tell if a script or automation tool is driving your browser
Tells whether the browser is controlled by automation, plus other marker checks.
True for Selenium, Puppeteer and similar. LinkedIn also looks for PhantomJS and Selenium markers on window and document.
What it can and can't do
What the user does: Nothing. It happens when the page loads
It can
- Check a flag that is true in Selenium, Puppeteer, and similar tools
- Look for PhantomJS and Selenium marks on the page
- Block or challenge likely bots
- Flag AI agents and scrapers
It cannot
- Be sure; bots can hide the flag
- See what the script is doing
- See anything about you if you drive the browser by hand
- Show a flag for normal browsing
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 63 | 2017-12-06 | None |
| Edge | Supported | 12 | 2015-07-29 | None |
| Firefox | Supported | 60 | 2018-05-09 | None |
| Safari | Supported | 10.1 | 2017-03-27 | None |
| Safari on iPhone | Supported | 10.3 | 2017-03-27 | None |
| Chrome on Android | Supported | 63 | 2017-12-05 | None |
| Samsung Internet | Supported | 8.0 | 2018-07-18 | None |
How a site asks for it
| API | navigator.webdriver; window._phantom, window.callPhantom, document.__selenium_unwrapped and similar |
| Browser compat keys | api.Navigator.webdriver |
| How access is granted | none |
| What the user sees | None (no browser prompt) |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | Not listed |
| How to take it back | Not listed |
| Inside an iframe | Not listed |
Typical flow
- Script reads the value
- Value joins the fingerprint payload
Data you get
What comes back: Automation detection (navigator.webdriver)
Shape: boolean
How often: static
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
webdriver | boolean | None | Not listed | Not listed |
markers | object | None | Selenium, PhantomJS markers | Not listed |
Technical limits
- Stealth tools patch it
The story
What it is
Tells a site whether your browser is being driven by a script, plus other signs of automation.
For you
You never see it. If you use a normal browser, it just says false. If you use an automation tool, a site may block you or show a puzzle.
For makers
Sites want to tell people from scripts. The flag plus marker objects left behind by tools like PhantomJS and Selenium are easy checks. Strong bots hide them, so teams combine them with other signals.
Where you see it
| Type | Example | Apps |
|---|---|---|
| security | A bot defence service blocks a script that sets the flag to true while buying tickets. | Cloudflare, DataDome |
| social | A professional network looks for automation markers on pages to stop scraping. | |
| shopping | A sneaker drop site challenges clients that report automation, to protect fair access. | None named |
| games | A browser game with prizes bans clients that look automated. | None named |
| ads | An ad vendor throws out clicks from clients with the flag on. | DoubleVerify |
| developer | A test team uses the flag to switch off pop-ups during automated testing. | Playwright, Selenium |
| banking | A bank adds risk when a login comes from an automated browser. | None named |
Risks
- Blocks legitimate testing tools
- Easy for bots to hide
What the platform says
- MDN: Navigator.webdriver. Docs describe a flag that is true when the browser is controlled by automation.
Good uses and abuse
Legitimate uses
- Block bots
Known abuse
- Flag testers and accessibility tools
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 3 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 1 | Rough identifying entropy, when known |
A real example: LinkedIn
Collector key(s): webdriver, automation.
Related capabilities
Related
- APFC / DNA device fingerprint (abuse prevention features). Can collect about 48 device traits and send them in secret with later requests
Sources
How well checked: Based on official documentation.