Selenium does not click inside the browser by magic. It sends WebDriver commands to a driver program, ChromeDriver for Chrome, and the driver turns them into DevTools protocol calls and snippets of JavaScript run in the page. Each layer leaves something a page can read, and Selenium detection is a page reading them.

How Selenium detection works

Detectors check the cheap, certain signals first and the expensive, fuzzy ones last.

  1. navigator.webdriver. The WebDriver specification defines it so a browser can say it is being driven, and MDN lists when Chrome sets it: the --enable-automation or --headless flag, or a debugging port of 0 (MDN, read 2 November 2026). ChromeDriver starts Chrome with automation switched on, so under a default Selenium launch it reads true. The details, and why hiding it with one line of script makes things worse, are in navigator.webdriver.
  2. ChromeDriver's globals. The driver's own helper scripts read built-ins through saved copies, for example window.cdc_adoQpoasnfa76pfcZLmcfl_Array || window.Array and the same for Promise, Symbol, JSON and Proxy (ChromeDriver source, read 2 November 2026). A page that lists Object.keys(window) and finds a cdc_ name has found ChromeDriver.
  3. Headless markers. A headless Chrome names itself HeadlessChrome in its User-Agent unless told otherwise, and reports a software renderer where a real machine has a GPU. Headless browser detection lists the rest.
  4. DevTools side effects. Anything that talks to Chrome over the DevTools protocol can leave traces that are not Selenium-specific. The one we measured is enabling the Runtime domain, which flipped deviceandbrowserinfo's detector to isBot=true; CDP detection has that run.
  5. Behaviour. element.click() produces a click with no mouse travel before it, and send_keys can fill a field faster than anyone types. Bot vendors weigh these with the network and the device.

Everything the window does, from a script on your own computerIn Mosaic: REST API. Everything the window does, from your own scripts. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

How it works: REST API

Why hiding Selenium is a moving target

The first two signals are easy to remove, which is why tools exist that rename ChromeDriver's cdc_ prefix in the binary or pass flags that keep navigator.webdriver false. That fixes the marks a free test page checks. It leaves the rest: the same fingerprint for every run on one machine, a datacentre IP if the script runs on a server, and input with no human timing. A detector that scores all of them does not need the cdc_ name.

The second problem is that every such fix is a guess about one version of the driver. The variable names live in ChromeDriver's source, and a release that changes how its helpers work changes what the fix has to hide.

How to check whether a page can detect your Selenium setup

Open bot.sannysoft.com from the browser your script drives and read the WebDriver row and the rows under it; the Sannysoft bot test, explained says what each row checks. In the console, run navigator.webdriver and Object.keys(window).filter(k => k.startsWith('cdc_')). Then repeat on a detector that reads DevTools side effects, because a clean Sannysoft page does not cover those.

Mosaic API keys: one per script or tool, each revocable on its own
One API key per script, revocable on its own

How Mosaic handles Selenium detection

Mosaic does not ship or modify ChromeDriver, and we have not tested Selenium against it. Its automation path is different: start a profile over the local REST API, or from an AI assistant over MCP, and the start call returns a DevTools endpoint that Puppeteer and Playwright attach to (using Playwright with an anti-detect browser has the code). Tesseract Chrome is changed so that automation switches on the command line no longer turn navigator.webdriver on, and Mosaic's own page tools never enable the Runtime domain. Each profile's audit has a row for navigator.webdriver and one for automation globals, which fails if a cdc_ name is present. Clicks and keystrokes from Mosaic's tools go through its human-input pipeline, never element.click(). Automate accounts and sites you are allowed to automate; the API is Pro.

Sources

  1. Chromium source: ChromeDriver call_function.js, read November 2, 2026
  2. MDN: Navigator.webdriver, read November 2, 2026