Scalebrowser

Browser automation: 3 control planes and what they leak

What browser automation is, how WebDriver, Playwright and CDP drive a browser, which tools websites detect in a 31 target benchmark, and what each leaves behind.

Davide G. · Founder, Scalebrowser

Published Dec 5, 2026 · 6 min read

Short answer

Browser automation drives a real browser from code through one of 3 control planes: WebDriver, Playwright's own layer or the Chrome DevTools Protocol used directly. The control plane shows on the page. In Ian L. Paterson's benchmark of 7 tools over 31 targets, nodriver, which drives Chrome over CDP without Playwright, was the only tool with no block, and our own recordings found traces of each input path, from a pressure of 0 on a pressed pointer to clicks marked as untrusted.
3, control planes, beside a joystick with three buttons

Browser automation used to mean tests: a script opens your own app, clicks through it and checks the result. Today the same libraries fill forms on other people's sites, scrape prices and carry AI agents through sign-ups, and the sites on the other end look back. What they see first is not the script but the way it reaches the browser.

What is browser automation?

Browser automation is software that operates a real web browser through a programming interface instead of a person's mouse and keyboard: it opens pages, clicks, types, reads what appears and repeats. Every tool sends those commands over one of 3 control planes, and the choice decides which browsers it can drive and what the browser knows about being driven.

Control planeDefined byTypical librariesBrowsers it drives
WebDriver, classic and BiDithe W3C, as a web standardSelenium, WebdriverIOChrome, Firefox, Safari, Edge, through a driver per browser
Playwright's layerMicrosoft's Playwright projectPlaywright, Patchright, Playwright MCPChromium builds, plus patched Firefox and WebKit builds
CDP, used directlythe Chrome DevTools teamPuppeteer, nodriver, chromedp, browser-useChromium-based browsers

All three end in the same place: a browser process that executes commands it received from outside. The rest of this page is about how that shows.

How does browser automation work?

Browser automation works as a conversation between a driver and the browser: the driver sends a command, the browser executes it and answers, and events flow back. The W3C WebDriver specification describes itself as "a remote control interface that enables introspection and control of user agents". Its classic form speaks HTTP to a separate driver binary such as chromedriver, and WebDriver BiDi adds a two-way channel over WebSocket.

The Chrome DevTools Protocol is no standard; it belongs to Chrome itself. Its documentation says it "allows tools to instrument, inspect, debug, and profile Chromium, Chrome, and other Blink-based browsers", split into domains such as DOM, Network and Input, and warns that the latest version "changes frequently, and can break at any time". Puppeteer, nodriver and chromedp speak it directly.

Playwright sits one layer above. On Chromium it drives the browser over CDP, and for Firefox and WebKit it ships its own builds, because, in the words of the Playwright documentation, "Playwright doesn't work with the branded version of Firefox since it relies on patches." By default it uses open source Chromium builds rather than branded Chrome.

Which browser automation tools do websites detect?

Websites detect every family to some degree, and in the largest public benchmark the control plane separated the tools more than any patch did. Ian L. Paterson ran 7 tools against 31 live targets in three sweeps from one residential address in May 2026, 651 verdicts in all. Selenium and undetected-chromedriver were not part of it.

ToolControl planeOKGatedBlocked
nodriverCDP directly, branded Chrome 1482830
CloakBrowserPlaywright, patched Chromium 1452632
curl_cffino browser, HTTP client2632
PatchrightPlaywright, patched, branded Chrome 1482533
CamoufoxPlaywright, Firefox build2533
PlaywrightPlaywright, Chromium 1472425
rebrowser-playwrightPlaywright, patched2425
Source: Ian L. Paterson, Anti-Detect Browser Benchmark 2026, 31 targets, 3 sweeps, 651 verdicts, published 13 May 2026

Paterson's reading of his own table: "Playwright forks fail regardless of patch quality, and defeating that layer takes a control plane that is not Playwright." The five Playwright-based tools are separated by at most 2 targets, and the one tool outside Playwright that drove a browser had no block at all. Patchright and nodriver both drove branded Chrome 148, so the gap between them is the control plane, not the browser build.

What does each control plane leave on the page?

Each control plane leaves its own trace in the events a page receives, even when the fingerprint is clean. The WebDriver standard makes one trace mandatory: navigator.webdriver "returns true if webdriver-active flag is set", and that flag is set "when the user agent is under remote control". The other traces come from how each library dispatches input, and we recorded them on 24 August 2026.

Every tool reaches the browser through one of three control planes, and the page records which. Pressure 0 on a pressed pointer is impossible: the Pointer Events specification requires 0.5 without pressure sensing.
Input pathControl planeWhat the page recorded
Playwright fillPlaywrightno key events, text inserted in one piece
Playwright typePlaywrightpaired keys, keypress sent, capitals without Shift
PuppeteerCDP directlypaired keys, capitals without Shift, pointer pressure 0 while pressed
CDP Input.insertTextCDP directlyno key events, text in one piece, pointer pressure 0 while pressed
SeleniumWebDriverpaired keys, Shift really pressed, pointer pressure 0 while pressed
nodriverCDP directly0 keydown, 79 keypress, no pointer events, clicks untrusted at 0,0
Source: Scalebrowser signature bench, 6 input paths in their default settings, 2 runs each, Chrome 141, 24 August 2026

A pressure of 0 is not unusual, it is impossible: the Pointer Events specification says that on hardware without pressure sensing "the value MUST be 0.5 when in the active buttons state". A person's mouse and Playwright both report 0.5. Chrome DevTools MCP types through Input.insertText and Playwright MCP through Playwright, so both inherit a row of this table rather than adding one.

What changes when an AI agent drives the browser?

When an AI agent drives the browser, the script disappears and the control plane stays: the agent decides the next step from the page, but its clicks still travel through one of the three planes and leave the same traces. Two things get harder at once. The agent works on sites it does not own, where detection is switched on, and it often has to stay signed in across runs, which a fresh test browser cannot do.

That is why the browser an agent operates matters more than the library that drives it. It needs a profile that keeps its logins, a device that stays the same from one run to the next, and input that arrives as a person's would, with a pressure of 0.5 on a pressed button and a pointer that travels before it clicks.

How do you check what your own automation leaves?

You check your automation by running it against a page that records what arrives, and by comparing that with your own hand on the same page. Our account-free agent check names the input path from the events it receives, and the check page shows the browser's fingerprint next to a control. For code that drives Chrome directly, the direct CDP page of our documentation shows how a CDP client connects to a profile, and human input describes what reaches the page when an agent clicks.

Real browser profiles for your AI agent, on your PC.

Each profile keeps its own identity, logins and proxy. Your agent drives it over MCP and signs in without seeing a password.

Download free for Windows

Free plan with 3 profiles · No credit card · Runs on your PC

Written by

Davide G.

Founder, Scalebrowser

Builds Scalebrowser, browser automation for the agentic era that runs on your own machine. Measures every change a web page could observe against a real browser before it ships, and writes up the ones that turned out wrong.

All articles by Davide G.

More in Infrastructure

All 19 articles in Infrastructure