- heuristic
- driver_globals
- family
- automation.tamper
- severity
- critical
- reads
- vectors.automation.markers
- reader
- readAutomation() reads the same automation block
- since
- ruleset r2
Injected driver globals
Raised when any of the sixteen recorded marker names is present on window or document, naming each one found.
If you want to know which automation stack a page can see, this is the rule that answers by name rather than by category. It reports the specific markers it found, and one name is usually enough to identify the tool that bound it.
What driver_globals reads
Automation frameworks need a channel between the driver and the page, and the cheap way to build one is a global with a distinctive name. The collector checks sixteen: `__webdriver_evaluate`, `__driver_evaluate`, `__webdriver_script_fn`, `__fxdriver_evaluate`, `__selenium_evaluate`, `__selenium_unwrapped`, `_phantom`, `__nightmare`, `_selenium`, `callPhantom`, `callSelenium`, `domAutomation`, `domAutomationController`, `__playwright`, `__puppeteer` and `__pw_mangle`.
Several of these belong to tools that are effectively historical. They stay in the list because the cost of checking is one `in` operator and because a list that only covers what is fashionable this year is not a published ruleset.
This rule names every marker it found. A single name is usually enough to identify the tool, which is the difference between a plan that says `automation detected` and a plan you can act on.
Who reads this signal
These names are documented in the source of the automation tools themselves, which is public. Whether any commercial detector enumerates them is not something we can verify, so we do not claim it.
In our correspondence index this heuristic is listed alongside Cloudflare Bot Management , Akamai Bot Manager , HUMAN (PerimeterX) and Arkose Labs . That correspondence is our reading of which products have access to this class of signal. It is not a claim that any of them checks this, and no test against any of them has been run.
When driver_globals fires on an ordinary browser
Rare, but `domAutomationController` has appeared in embedded and testing contexts that are not scraping anything.
What a clean reading looks like
Clean is none of the sixteen present on window or document. It is cheap to earn and cheap to lose, because attaching a classic framework binds at least one of them again and one is all it takes. The list keeps entries for tools nobody uses any more, on the grounds that a ruleset trimmed to this year's fashions is not one you can cite next year.
What actually moves driver_globals
A driver that communicates over the DevTools protocol without binding page globals, or a launch configuration that removes the bindings.
What changing this flag does to the plan
Because the rule names what it found rather than reporting a boolean, this row carries real information into a diff. Switching from one automation stack to another does not clear the row and set it again; it changes the value from one marker name to another, and the plan prints the old name struck through beside the new one. That is the difference between a plan that says automation detected and a plan you can act on.
Questions about driver_globals
Which global variables do Playwright and Puppeteer leave in the page?
The collector checks for the dollar-free binding names those projects and their predecessors have used, alongside the older Selenium, PhantomJS and Nightmare markers and the Chrome domAutomationController pair. The rule prints the names it actually found in your browser, which is a more useful answer than any list, because it is about the build in front of you.
Does removing automation globals hide the driver?
It clears this rule. It does not touch the WebDriver flag, the ChromeDriver document bridge, or anything in the tamper family, and a driver that still communicates over the DevTools protocol is still a driver. What this rule tests is tidiness, not absence.
Can a normal page define one of these globals by accident?
The Chrome automation controller binding turns up in embedded and testing contexts that have nothing to do with scraping, and that is the one collision worth knowing about. Otherwise the names are distinctive enough that a match is an implementation detail leaking rather than a coincidence.
Read next
Change what this row says
If you are automating because you run many profiles rather than because you are testing a site, a page-injected bridge is the wrong shape of tool for the job. Donut Browser drives profiles from a local REST API and a local MCP server on your own machine, with an OpenAPI spec and one-click registration into the usual editors, so the automation surface is not a global bound onto the page a detector is reading.
curl -fsSL https://donutbrowser.com/install.sh | sh
To see this heuristic's reading for your own browser, run the plan. Nothing on this page has read anything about you.