[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"blog-post-en-how-sites-detect-cdp-automation":3},{"success":4,"payload":5,"related":83,"errors":165},true,{"id":6,"slug":7,"title":8,"excerpt":9,"body_html":10,"meta_title":11,"meta_description":12,"canonical_url":13,"canonical_override":14,"og_title":15,"og_description":16,"og_image_url":17,"faq_json":18,"key_takeaways":34,"allow_index":4,"noindex_google_only":40,"allow_follow":4,"published_at":41,"updated_at":42,"content_updated_at":43,"featured_image_url":44,"featured_image_alt":8,"card_image_url":45,"reading_time_minutes":46,"author":47,"categories":51,"tags":58,"alternates":75,"locale_paths":81,"views":82},208,"how-sites-detect-cdp-automation","CDP Detection in 2026: What Changed After the Runtime.enable Fix","The Error.stack getter that exposed Puppeteer and Playwright stopped firing in Chrome 138. Here is what V8 changed, which CDP and non-CDP signals still work in 2026, and a probe page to test your own stack.","\u003Cp>The best-known CDP detection trick, a getter on \u003Ccode>Error.stack\u003C\u002Fcode> that fires when an automation client has called \u003Ccode>Runtime.enable\u003C\u002Fcode>, stopped working once two V8 inspector commits from May 2025 shipped in Chrome 138. That didn't make CDP-driven browsers invisible. Researchers have since found other ways to observe an enabled Runtime domain, and most commercial detection now relies on framework artefacts, headless and environment tells, input properties, and behaviour and network signals that never depended on that one check.\u003C\u002Fp>\n\n\u003Ch2>What CDP detection is and why every major framework is exposed\u003C\u002Fh2>\n\u003Cp>CDP detection means spotting that a browser is being driven over the Chrome DevTools Protocol rather than by a person. It works because the protocol was built for debugging, and some debugger features leave traces that page JavaScript can observe.\u003C\u002Fp>\n\u003Cp>The \u003Ca href=\"https:\u002F\u002Fchromedevtools.github.io\u002Fdevtools-protocol\u002F\" rel=\"noopener noreferrer\">Chrome DevTools Protocol\u003C\u002Fa> is the WebSocket API the DevTools window itself uses: domains such as \u003Ccode>Runtime\u003C\u002Fcode>, \u003Ccode>Page\u003C\u002Fcode>, \u003Ccode>Network\u003C\u002Fcode> and \u003Ccode>Input\u003C\u002Fcode>, each with commands and events. Most Chromium automation goes through it:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Puppeteer controls Chrome over CDP. For Firefox it now uses WebDriver BiDi.\u003C\u002Fli>\n\u003Cli>Playwright uses CDP for Chromium. For Firefox it uses Juggler, a separate protocol inside Firefox.\u003C\u002Fli>\n\u003Cli>Selenium 4 talks WebDriver to ChromeDriver, which drives Chrome over CDP internally, and Selenium also exposes CDP commands directly while it moves to BiDi.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Firefox has since left CDP behind. Mozilla \u003Ca href=\"https:\u002F\u002Ffxdx.dev\u002Fcdp-retirement-in-firefox\u002F\" rel=\"noopener noreferrer\">deprecated its CDP implementation in Firefox 129 and removed it completely in Firefox 141\u003C\u002Fa>. \"CDP detection\" in 2026 therefore means detecting automated Chromium-family browsers.\u003C\u002Fp>\n\u003Cp>The reason this signal class appealed to defenders is the one DataDome gave in its \u003Ca href=\"https:\u002F\u002Fsecurityboulevard.com\u002F2024\u002F06\u002Fhow-new-headless-chrome-the-cdp-signal-are-impacting-bot-detection\" rel=\"noopener noreferrer\">June 2024 research\u003C\u002Fa> (republished from its threat-research blog): \"Being able to detect that a browser is instrumented with CDP is key to detect most modern bot frameworks.\" Once new headless Chrome shared its codebase with regular Chrome, most fingerprint inconsistencies disappeared. A protocol-level side effect would catch Puppeteer, Playwright, Selenium and any unknown framework built on the same plumbing.\u003C\u002Fp>\n\n\u003Ch2>How the classic Runtime.enable check worked\u003C\u002Fh2>\n\u003Cp>The check abused the fact that when the \u003Ccode>Runtime\u003C\u002Fcode> domain is enabled, V8's inspector serialises every console argument so it can send a preview to the client. Serialising an object reads its properties, and reading a property with a getter runs page code.\u003C\u002Fp>\n\u003Cp>The version Castle documented looked like this:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-javascript\">let wasAccessed = false;\nconst e = new window.Error();\nObject.defineProperty(e, 'stack', {\n  configurable: false,\n  enumerable: false,\n  get: function () {\n    wasAccessed = true;\n    return '';\n  }\n});\nconsole.debug(e);\n\u002F\u002F wasAccessed === true  =&gt;  something is listening on the Runtime domain\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Step by step:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Puppeteer, Playwright and ChromeDriver call \u003Ccode>Runtime.enable\u003C\u002Fcode> because they need \u003Ccode>Runtime.executionContextCreated\u003C\u002Fcode> events to know where to run scripts. The protocol docs describe it as enabling \"reporting of execution contexts creation\".\u003C\u002Fli>\n\u003Cli>Once the domain is enabled, every \u003Ccode>console.*\u003C\u002Fcode> call produces a \u003Ccode>Runtime.consoleAPICalled\u003C\u002Fcode> event, and V8 builds a preview of each argument for it.\u003C\u002Fli>\n\u003Cli>For an \u003Ccode>Error\u003C\u002Fcode>, building the preview meant reading \u003Ccode>.stack\u003C\u002Fcode> (along with \u003Ccode>.name\u003C\u002Fcode> and \u003Ccode>.message\u003C\u002Fcode>). The page had replaced \u003Ccode>.stack\u003C\u002Fcode> with a getter, so the getter ran and flipped the flag.\u003C\u002Fli>\n\u003Cli>In an ordinary browser with nothing attached, no preview is built and the getter never runs.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>It took a few lines of JavaScript, cost almost nothing, and caught every framework that called \u003Ccode>Runtime.enable\u003C\u002Fcode>, whatever it did to \u003Ccode>navigator.webdriver\u003C\u002Fcode> or the user agent. Stealth plugins that patch JavaScript properties couldn't fix it, because the leak sat in the protocol, not the page. The countermeasure that emerged was at the driver level: \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frebrowser\u002Frebrowser-patches\" rel=\"noopener noreferrer\">rebrowser-patches\u003C\u002Fa> and Patchright avoid calling \u003Ccode>Runtime.enable\u003C\u002Fcode>, and DataDome noted in 2024 that nodriver and Selenium Driverless used \"low-level CDP commands that do not leverage \u003Ccode>Runtime.enable\u003C\u002Fcode>\".\u003C\u002Fp>\n\n\u003Ch2>What V8 changed in 2025\u003C\u002Fh2>\n\u003Cp>V8 closed the side effect in two commits in May 2025: the inspector stopped running user-defined getters when it previews objects and errors. The fix landed in V8 13.8, which shipped in Chrome 138 (stable on 24 June 2025).\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fchromium.googlesource.com\u002Fv8\u002Fv8\u002F+\u002F61a907540d4c1dda4733476e54c977910f31041d\" rel=\"noopener noreferrer\">\u003Ccode>61a90754\u003C\u002Fcode>\u003C\u002Fa> (7 May 2025), \"[inspector] Prevent side effects during object preview\", which avoids \"running user code when enabling runtime domain\".\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fchromium.googlesource.com\u002Fv8\u002Fv8\u002F+\u002Fe08e97347454255a337dcea361808fb25ca09077\" rel=\"noopener noreferrer\">\u003Ccode>e08e9734\u003C\u002Fcode>\u003C\u002Fa> (9 May 2025), \"[inspector] Prevent side effects during error preview\", which changes error description generation \"to avoid running getters with side effects\".\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Both commits reference Chromium bug 415094795. The first was written by Pavel Feldman, a Playwright maintainer at Microsoft, so this came from the automation-tooling side, not from a stealth project. Castle's Antoine Vastel wrote it up on 28 August 2025 under the title \u003Ca href=\"https:\u002F\u002Fblog.castle.io\u002Fwhy-a-classic-cdp-bot-detection-signal-suddenly-stopped-working-and-nobody-noticed\u002F\" rel=\"noopener noreferrer\">\"Why a classic CDP bot detection signal suddenly stopped working (and nobody noticed)\"\u003C\u002Fa>, pointing to a new \u003Ccode>getErrorProperty()\u003C\u002Fcode> helper that skips user getters during preview. On Chrome 138 and later, the snippet above returns \u003Ccode>false\u003C\u002Fcode> even under stock Puppeteer.\u003C\u002Fp>\n\n\u003Ch2>Is Runtime.enable still detectable?\u003C\u002Fh2>\n\u003Cp>Probably, though less reliably than before. In March 2026 an independent researcher, Sveba, published \u003Ca href=\"https:\u002F\u002Fsvebaa.github.io\u002Fpersonal\u002Fblog\u002Fcdp-fingerprinting\u002F\" rel=\"noopener noreferrer\">an analysis of V8's preview path\u003C\u002Fa> showing two remaining routes. One is a code path the May 2025 guard misses when \u003Ccode>GetOwnPropertyDescriptor\u003C\u002Fcode> fails, which the author says they \"verified … is exploitable in post-patch Chrome\". The other uses a \u003Ccode>Proxy\u003C\u002Fcode> placed on an object's prototype chain:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-javascript\">let detected = false;\nconst trap = new Proxy({}, {\n  ownKeys() { detected = true; return []; }\n});\nconst obj = Object.create(trap);\nconsole.groupEnd(obj);   \u002F\u002F any console method works\n\u002F\u002F detected === true  =&gt;  inspector is building previews\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>According to the write-up, the inspector checks only whether the value itself is a Proxy, not its prototypes, and collects all keys eagerly. Enumerating the chain therefore triggers the \u003Ccode>ownKeys\u003C\u002Fcode> trap. The author tested this on a \u003Ccode>content_shell\u003C\u002Fcode> build from March 2026 and reported it unpatched at the time. We haven't confirmed it against every stable Chrome release, so treat it as reported, not universal.\u003C\u002Fp>\n\u003Cp>Two caveats limit how far a defender can lean on any Runtime.enable signal now. First, a real user with DevTools open goes through the same code path, so the signal says \"an inspector is attached\", not \"this is a bot\". Second, the frameworks most worth catching already avoid \u003Ccode>Runtime.enable\u003C\u002Fcode>, so it mostly flags unmodified Puppeteer, Playwright and Selenium. The industry has moved toward stacking many weaker signals, which Castle's post also says.\u003C\u002Fp>\n\n\u003Ch2>Signals that still work in 2026\u003C\u002Fh2>\n\u003Cp>The signals that hold up now come from what the framework does in the page, how the browser was built and launched, how input arrives, and how the session behaves on the network. Hiding a single CDP side effect doesn't remove any of these.\u003C\u002Fp>\n\n\u003Ch3>Framework artefacts in the main world\u003C\u002Fh3>\n\u003Cp>Stock frameworks leave fingerprints of their own. The \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frebrowser\u002Frebrowser-bot-detector\" rel=\"noopener noreferrer\">rebrowser bot detector\u003C\u002Fa> lists several:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>__pwInitScripts\u003C\u002Fcode>: Playwright adds it to the global scope of every page by default.\u003C\u002Fli>\n\u003Cli>\u003Ccode>sourceURL\u003C\u002Fcode> leaks: Puppeteer tags evaluated scripts with \u003Ccode>\u002F\u002F# sourceURL=pptr:…\u003C\u002Fcode>, which can show up in an error stack captured inside a hooked function.\u003C\u002Fli>\n\u003Cli>Main-world execution: if your script calls \u003Ccode>document.querySelector\u003C\u002Fcode> in the page's own world, a page that has wrapped that function sees the call.\u003C\u002Fli>\n\u003Cli>\u003Ccode>exposeFunction\u003C\u002Fcode> \u002F bindings: \u003Ccode>page.exposeFunction()\u003C\u002Fcode> and Playwright's \u003Ccode>window.__playwright__binding__\u003C\u002Fcode> install globals a page can enumerate. Under the hood they use \u003Ccode>Runtime.addBinding\u003C\u002Fcode>, which adds a function \"on the global objects of all inspected contexts\".\u003C\u002Fli>\n\u003Cli>Utility world names: frameworks create isolated worlds with recognisable names, which rebrowser-patches lets you rename.\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Ch3>Init-script artefacts\u003C\u002Fh3>\n\u003Cp>\u003Ccode>Page.addScriptToEvaluateOnNewDocument\u003C\u002Fcode> runs a script \"in every frame upon creation (before loading frame's scripts)\". It's how stealth plugins patch \u003Ccode>navigator\u003C\u002Fcode> before the site's code runs. The protocol doesn't leak, but the patches do. As the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdaijro\u002Fcamoufox\" rel=\"noopener noreferrer\">Camoufox README\u003C\u002Fa> puts it, injected JavaScript can be caught via \u003Ccode>Object.getOwnPropertyDescriptor\u003C\u002Fcode>, by a function's \u003Ccode>toString()\u003C\u002Fcode> no longer returning \u003Ccode>[native code]\u003C\u002Fcode>, or by values that differ between the window and a worker.\u003C\u002Fp>\n\n\u003Ch3>Worker contexts\u003C\u002Fh3>\n\u003Cp>Workers are where patching most often fails. Init scripts and property overrides applied to the page don't automatically reach dedicated, shared or service workers. A worker that reports the real \u003Ccode>navigator.userAgent\u003C\u002Fcode>, \u003Ccode>hardwareConcurrency\u003C\u002Fcode> or WebGL renderer while the window reports spoofed values is a strong tell. CreepJS checks worker scope specifically for this reason.\u003C\u002Fp>\n\n\u003Ch3>Headless and build tells\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>Headless shell vs new headless. Chrome launched \u003Ccode>--headless=new\u003C\u002Fcode> in Chrome 112, and \u003Ca href=\"https:\u002F\u002Fdeveloper.chrome.com\u002Fblog\u002Fremoving-headless-old-from-chrome\" rel=\"noopener noreferrer\">from Chrome 132 the old mode lives only in the separate \u003Ccode>chrome-headless-shell\u003C\u002Fcode> binary\u003C\u002Fa>. Playwright \u003Ca href=\"https:\u002F\u002Fplaywright.dev\u002Fdocs\u002Fbrowsers\" rel=\"noopener noreferrer\">uses chromium headless shell by default when headless\u003C\u002Fa>, and it behaves differently from real Chrome.\u003C\u002Fli>\n\u003Cli>Build identity. A \"Chrome for Testing\" user agent, default viewports (800×600 in Puppeteer, 1280×720 in Playwright), and \u003Ccode>navigator.webdriver\u003C\u002Fcode> left on are all cheap checks the rebrowser detector lists.\u003C\u002Fli>\n\u003Cli>Codecs. Open-source Chromium builds don't include the proprietary codecs Google Chrome ships, such as H.264 and AAC, according to \u003Ca href=\"https:\u002F\u002Fwww.chromium.org\u002Faudio-video\u002F\" rel=\"noopener noreferrer\">the Chromium project\u003C\u002Fa>. A browser that claims to be Chrome but fails \u003Ccode>canPlayType\u003C\u002Fcode> for H.264 is really Chromium.\u003C\u002Fli>\n\u003Cli>Permissions and media devices. In headless and container environments, notification permission states, empty media device lists and missing speech voices often fail to match what the user agent claims. CreepJS and BrowserScan check these.\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Ch3>Synthetic input\u003C\u002Fh3>\n\u003Cp>Input sent with \u003Ccode>Input.dispatchMouseEvent\u003C\u002Fcode> produces trusted events (\u003Ccode>isTrusted\u003C\u002Fcode> is true), but it has had properties real input doesn't. The best known was \u003Ccode>screenX\u002FscreenY\u003C\u002Fcode> equal to \u003Ccode>pageX\u002FpageY\u003C\u002Fcode> outside fullscreen. Chromium fixed it in \u003Ca href=\"https:\u002F\u002Fchromium-review.googlesource.com\u002Fc\u002Fchromium\u002Fsrc\u002F+\u002F6917162\" rel=\"noopener noreferrer\">change 6917162\u003C\u002Fa>, \"Fix screen coordinates to avoid automation detection\", merged on 15 September 2025, before the Chrome 142 branch point. The \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FKaliiiiiiiiii-Vinyzu\u002FCDP-Patches\" rel=\"noopener noreferrer\">CDP-Patches\u003C\u002Fa> project, which existed to work around this, now says CDP input also emits coalesced events and archived itself. On current Chrome these two specific checks are mostly gone, while trajectory, timing and click-position analysis still apply.\u003C\u002Fp>\n\n\u003Ch3>Behaviour and network\u003C\u002Fh3>\n\u003Cp>None of the signals below involve CDP, and they make up most of what vendors score. Castle lists client-side behavioural analysis, environment \"red pills\", proxy and network detection, and time-series analysis of coordinated activity. On the network side that includes \u003Ca href=\"\u002Fblog\u002Ftls-fingerprinting-explained\">TLS fingerprints\u003C\u002Fa> and \u003Ca href=\"\u002Fblog\u002Fhttp2-fingerprinting-explained-2026\">HTTP\u002F2 fingerprints\u003C\u002Fa> that must match the claimed browser, plus IP reputation. GPU-level fingerprinting is covered in our \u003Ca href=\"\u002Fblog\u002Fcanvas-webgl-fingerprinting-deep-dive\">canvas and WebGL deep-dive\u003C\u002Fa>.\u003C\u002Fp>\n\n\u003Ch2>How Patchright, nodriver and Camoufox handle CDP leaks\u003C\u002Fh2>\n\u003Cp>All three avoid \u003Ccode>Runtime.enable\u003C\u002Fcode>-style leaks, in different ways, and none of them solves behaviour or network reputation.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Patchright\u003C\u002Fstrong> is a patched Playwright driver for Chromium only. According to its \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FKaliiiiiiiiii-Vinyzu\u002Fpatchright\" rel=\"noopener noreferrer\">README\u003C\u002Fa>, its main patch avoids \u003Ccode>Runtime.enable\u003C\u002Fcode> \"by executing Javascript in (isolated) ExecutionContexts\". It also disables the Console domain entirely (so console logging doesn't work), drops \u003Ccode>--enable-automation\u003C\u002Fcode>, adds \u003Ccode>--disable-blink-features=AutomationControlled\u003C\u002Fcode>, and recommends running real Chrome (\u003Ccode>channel=\"chrome\"\u003C\u002Fcode>) without fingerprint injection. It follows Playwright releases closely (the v1.63.0 driver shipped in September 2026). Our \u003Ca href=\"\u002Fblog\u002Fpatchright-deep-dive-undetected-playwright\">Patchright deep-dive\u003C\u002Fa> covers setup.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>nodriver\u003C\u002Fstrong>, the successor to undetected-chromedriver, removes WebDriver and talks CDP to your installed Chrome. A look through its current \u003Ccode>core\u002F\u003C\u002Fcode> source shows it evaluating with \u003Ccode>Runtime.evaluate\u003C\u002Fcode> and \u003Ccode>Runtime.callFunctionOn\u003C\u002Fcode> and never calling \u003Ccode>Runtime.enable\u003C\u002Fcode>, which matches DataDome's 2024 description. The trade-off is that evaluation happens in the main world, where a page that wraps DOM functions can see it, and there is no fingerprint management. The last PyPI release is 0.50.3 from May 2026. See our \u003Ca href=\"\u002Fblog\u002Fscraping-with-nodriver-proxy-guide\">nodriver guide\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Camoufox\u003C\u002Fstrong> sidesteps CDP entirely. It's a Firefox fork, and Playwright drives Firefox through Juggler, which Camoufox patches so Playwright works on an isolated copy of the page: page scripts can't see injected helpers or watch for getter reads. Input goes through Firefox's normal input handlers, and fingerprint values are spoofed in C++ rather than by init scripts, which removes the \u003Ccode>toString\u003C\u002Fcode> and worker-mismatch class. The cost is that it's Firefox. The README says some WAFs test SpiderMonkey engine behaviour, so it can't pass as Chrome.\u003C\u002Fp>\n\n\u003Ch2>Signal reference table\u003C\u002Fh2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\u003Cth>Signal\u003C\u002Fth>\u003Cth>Still works in 2026?\u003C\u002Fth>\u003Cth>What defeats it\u003C\u002Fth>\u003Cth>Cost of defeating it\u003C\u002Fth>\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\u003Ctd>\u003Ccode>Error.stack\u003C\u002Fcode> getter on console (classic)\u003C\u002Ftd>\u003Ctd>No on Chrome 138+ (V8 13.8)\u003C\u002Ftd>\u003Ctd>Up-to-date Chrome\u003C\u002Ftd>\u003Ctd>None\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Other inspector-preview side effects (e.g. prototype-chain Proxy)\u003C\u002Ftd>\u003Ctd>Reported working as of Mar 2026; also fires for real users with DevTools open\u003C\u002Ftd>\u003Ctd>Not calling \u003Ccode>Runtime.enable\u003C\u002Fcode> (Patchright, nodriver, rebrowser-patches) or not using CDP (Camoufox)\u003C\u002Ftd>\u003Ctd>Low to medium: driver patch, lost console API\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ccode>__pwInitScripts\u003C\u002Fcode>, bindings, \u003Ccode>pptr:\u003C\u002Fcode> sourceURL\u003C\u002Ftd>\u003Ctd>Yes, against stock frameworks\u003C\u002Ftd>\u003Ctd>Patched drivers; avoid \u003Ccode>exposeFunction\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Low\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Main-world execution hooks\u003C\u002Ftd>\u003Ctd>Yes\u003C\u002Ftd>\u003Ctd>Isolated-world evaluation\u003C\u002Ftd>\u003Ctd>Medium: no direct access to page globals\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>JS-patched properties (\u003Ccode>toString\u003C\u002Fcode>, descriptors)\u003C\u002Ftd>\u003Ctd>Yes\u003C\u002Ftd>\u003Ctd>Don't patch; use real Chrome or C++-level spoofing\u003C\u002Ftd>\u003Ctd>Medium to high\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Window vs worker mismatch\u003C\u002Ftd>\u003Ctd>Yes\u003C\u002Ftd>\u003Ctd>Same as above; patches must cover workers\u003C\u002Ftd>\u003Ctd>High if you patch in JS\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Headless shell \u002F Chrome for Testing \u002F codecs\u003C\u002Ftd>\u003Ctd>Yes\u003C\u002Ftd>\u003Ctd>Branded Chrome, headful or new headless, virtual display\u003C\u002Ftd>\u003Ctd>Medium: more RAM, Xvfb on servers\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>CDP input: screenX == pageX, no coalesced events\u003C\u002Ftd>\u003Ctd>Largely fixed in current Chrome\u003C\u002Ftd>\u003Ctd>Current Chrome\u003C\u002Ftd>\u003Ctd>None\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Behaviour and timing\u003C\u002Ftd>\u003Ctd>Yes, and a growing share of scoring\u003C\u002Ftd>\u003Ctd>Realistic pacing, fewer requests per identity\u003C\u002Ftd>\u003Ctd>High: throughput\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>TLS \u002F HTTP\u002F2 \u002F IP reputation\u003C\u002Ftd>\u003Ctd>Yes\u003C\u002Ftd>\u003Ctd>Real browser network stack, clean residential or ISP IPs\u003C\u002Ftd>\u003Ctd>Ongoing proxy spend\u003C\u002Ftd>\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\n\u003Ch2>How to test your own setup\u003C\u002Fh2>\n\u003Cp>Test against your own probe page first, then against public detection pages, and change one variable at a time. Public pages tell you what they detect. Your own page tells you which Chrome build and driver combination still triggers which check.\u003C\u002Fp>\n\u003Ch3>1. A local probe page\u003C\u002Fh3>\n\u003Cp>Save this as \u003Ccode>probe.html\u003C\u002Fcode>. It runs the classic check, the prototype-chain check and a few cheap artefact checks, then writes the results into the DOM so any driver can read them, whichever world its scripts run in.\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-html\">&lt;!doctype html&gt;\n&lt;pre id=\"out\"&gt;running&lt;\u002Fpre&gt;\n&lt;script&gt;\nfunction classic() {\n  let hit = false;\n  const e = new Error();\n  Object.defineProperty(e, 'stack', { configurable: false, enumerable: false,\n    get() { hit = true; return ''; } });\n  console.debug(e);\n  return hit;\n}\nfunction protoProxy() {\n  let hit = false;\n  const trap = new Proxy({}, { ownKeys() { hit = true; return []; } });\n  console.groupEnd(Object.create(trap));\n  return hit;\n}\nconst r = {\n  classicStackGetter: classic(),\n  protoProxyPreview: protoProxy(),\n  webdriver: navigator.webdriver,\n  pwInitScripts: '__pwInitScripts' in window,\n  h264: document.createElement('video').canPlayType('video\u002Fmp4; codecs=\"avc1.42E01E\"'),\n  ua: navigator.userAgent,\n};\nsetTimeout(() =&gt; { document.getElementById('out').textContent = JSON.stringify(r, null, 2); }, 300);\n&lt;\u002Fscript&gt;\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Then run it under each setup you care about:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-python\">import pathlib\nfrom playwright.sync_api import sync_playwright   # swap for: from patchright.sync_api import sync_playwright\n\nurl = pathlib.Path(\"probe.html\").resolve().as_uri()\n\nwith sync_playwright() as p:\n    browser = p.chromium.launch(channel=\"chrome\", headless=False)\n    page = browser.new_page()\n    page.goto(url)\n    page.wait_for_function(\"document.getElementById('out').textContent !== 'running'\")\n    print(page.text_content(\"#out\"))\n    browser.close()\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Run stock Playwright, then Patchright, then the same page in a normal Chrome window with and without DevTools open. The DevTools run is your control: anything that fires there will also fire for real users, so it's a weak signal on its own.\u003C\u002Fp>\n\u003Ch3>2. Public detection pages\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fbot-detector.rebrowser.net\u002F\" rel=\"noopener noreferrer\">rebrowser bot detector\u003C\u002Fa>: Chromium-focused, covering Runtime.enable, sourceURL, main-world execution, \u003Ccode>exposeFunction\u003C\u002Fcode>, \u003Ccode>__pwInitScripts\u003C\u002Fcode>, viewport and user agent. Some tests only fire if your script calls the page's \u003Ccode>dummyFn\u003C\u002Fcode> or exposes a function, as the page explains.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fwww.browserscan.net\u002Fbot-detection\" rel=\"noopener noreferrer\">BrowserScan bot detection\u003C\u002Fa>: reports WebDriver, user agent, CDP and navigator-consistency checks.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fabrahamjuliot.github.io\u002Fcreepjs\u002F\" rel=\"noopener noreferrer\">CreepJS\u003C\u002Fa>: open-source fingerprint analysis that flags \"lies\" (patched properties), headless traits and worker-scope mismatches. It's the best one for catching JavaScript-level spoofing.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fdeviceandbrowserinfo.com\u002Fare_you_a_bot\" rel=\"noopener noreferrer\">Device and Browser Info \"Are you a bot?\"\u003C\u002Fa>: fingerprint and behaviour tests, including CDP, WebDriver, Playwright and headless Chrome checks.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Run these through the same proxy you'll use in production. Several of them show IP and timezone alongside browser signals, and a perfect browser score on a datacenter IP tells you little about real traffic. A sticky session (\u003Ccode>USERNAME-sid-abc123-ttl-10m\u003C\u002Fcode> on the \u003Ca href=\"\u002Fproxy\u002Fresidential\">residential gateway\u003C\u002Fa>) keeps the IP fixed while you compare runs.\u003C\u002Fp>\n\u003Cp>Remember that passing a test page isn't the same as passing a site. Commercial vendors use server-side models, cross-session history and signals these pages can't see.\u003C\u002Fp>\n\n\u003Ch2>What this does not solve\u003C\u002Fh2>\n\u003Cp>Closing CDP leaks removes one category of evidence. It doesn't make automation look human, and it doesn't make collection permitted. Rate, sequencing and volume per identity still give automation away, and IP reputation and TLS still have to match the browser you claim to be. Access rules still apply: robots.txt, terms of service, and data-protection law for anything personal. If you run detection, the practical lesson from 2025 is not to depend on a single side effect that a browser vendor can remove in a routine commit. If you run automation, keep your tools current, prefer drivers that don't patch JavaScript, and assume the remaining signals are behavioural.\u003C\u002Fp>\n","CDP Detection in 2026: After the Runtime.enable Fix | ProxyHat","How CDP detection works in 2026: why the classic Runtime.enable check broke in Chrome 138, which automation signals remain, and how to test your own setup.","\u002Fblog\u002Fhow-sites-detect-cdp-automation",null,"CDP Detection in 2026: After the Runtime.enable Fix","How CDP detection works in 2026: why the classic Runtime.enable check broke in Chrome 138, which automation signals remain, and how to test your setup.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fhow-sites-detect-cdp-automation-og.webp",[19,22,25,28,31],{"question":20,"answer":21},"Does the Runtime.enable detection still work?","The classic version, a getter on Error.stack logged via console, stopped working in Chrome 138 after two May 2025 V8 inspector commits. An independent March 2026 analysis reported other preview side effects, such as a Proxy on the prototype chain, that still reveal an enabled Runtime domain. Those also fire for real users with DevTools open.",{"question":23,"answer":24},"How do websites detect Puppeteer and Playwright?","Mostly through artefacts and environment rather than one CDP trick: globals like __pwInitScripts and exposed bindings, Puppeteer's pptr: sourceURL, main-world function hooks, headless-shell and Chrome for Testing traits, JavaScript-patched properties, worker mismatches, plus behaviour, TLS\u002FHTTP2 fingerprints and IP reputation.",{"question":26,"answer":27},"What Chrome version fixed the CDP console detection?","The fix landed in V8 13.8 via commits 61a90754 (7 May 2025) and e08e9734 (9 May 2025), which stop the inspector from running user getters during object and error previews. V8 13.8 shipped in Chrome 138, which reached stable on 24 June 2025.",{"question":29,"answer":30},"Is Camoufox detectable through CDP?","Not through CDP: Camoufox is a Firefox fork controlled by Playwright over Juggler, and Firefox removed its CDP implementation in version 141. Camoufox can still be detected in other ways, including fingerprint inconsistencies and Firefox-specific engine checks.",{"question":32,"answer":33},"How can I test if my headless browser is detected?","Run a local probe page with the known checks under each driver and compare against a normal Chrome window, with and without DevTools open. Then use public pages such as the rebrowser bot detector, BrowserScan's bot detection page, CreepJS and Device and Browser Info's 'Are you a bot?' test, through the same proxy you use in production.",[35,36,37,38,39],"The classic Error.stack console check for Runtime.enable stopped firing in Chrome 138 (V8 13.8, June 2025).","Runtime.enable is still reportedly observable via other preview paths, but real DevTools users trigger them too.","Framework artefacts, JS-patch tells, worker mismatches and headless-shell traits matter more than any single CDP leak.","Patchright uses isolated worlds, nodriver skips Runtime.enable, and Camoufox avoids CDP by running on Firefox.","Test your own stack with a local probe page plus public pages, through the same proxy you use in production.",false,"2026-10-22T09:00:00+00:00","2026-10-22T09:00:25+00:00","2026-10-03T09:31:26+00:00","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fhow-sites-detect-cdp-automation-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fhow-sites-detect-cdp-automation-card.webp",14,{"name":48,"slug":49,"bio":50,"avatar_url":14,"website_url":14,"social_links":14},"ProxyHat Team","proxyhat-team","The ProxyHat editorial team covers proxies, web scraping, and data extraction.",[52],{"id":53,"slug":54,"name":55,"description":14,"meta_title":56,"meta_description":57,"parent_id":14},6,"anti-bot-security","Anti-Bot & Security","Anti-Bot & Security Guides | ProxyHat Blog","Technical deep dives into anti-bot systems, detection evasion, and proxy security.",[59,63,67,71],{"id":60,"slug":61,"name":62},16,"anti-bot","Anti-Bot",{"id":64,"slug":65,"name":66},17,"browser-fingerprinting","Browser Fingerprinting",{"id":68,"slug":69,"name":70},21,"headless-browser","Headless Browser",{"id":72,"slug":73,"name":74},22,"playwright","Playwright",{"ru":76,"en":13,"ko":77,"tr":78,"zh":79,"de":80,"x-default":13},"\u002Fru\u002Fblog\u002Fobnaruzhenie-cdp-avtomatizatsii-2026","\u002Fko\u002Fblog\u002Fcdp-jadonghwa-tamji-2026","\u002Ftr\u002Fblog\u002Fcdp-otomasyon-tespiti-2026","\u002Fcn\u002Fblog\u002Fwangzhan-ruhe-jiance-cdp-zidonghua","\u002Fde\u002Fblog\u002Fcdp-erkennung-automatisierung-2026",{"ru":76,"en":13,"ko":77,"tr":78,"zh":79,"de":80},116,[84,106,124,147],{"id":85,"slug":86,"title":87,"excerpt":88,"featured_image_url":89,"featured_image_alt":87,"card_image_url":90,"og_image_url":91,"published_at":92,"updated_at":93,"content_updated_at":43,"reading_time_minutes":94,"is_featured":40,"indexable":4,"views":95,"author":96,"categories":97,"tags":99},217,"stealth-browser-benchmark-datacenter-residential","Stealth Browser Benchmark: Patchright, nodriver, Camoufox (2026)","54 runs, five automation tools, two IP types. Browser-level stealth decided every bot verdict; the residential IP only moved network-side checks, and not always for the better.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fstealth-browser-benchmark-datacenter-residential-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fstealth-browser-benchmark-datacenter-residential-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fstealth-browser-benchmark-datacenter-residential-og.webp","2026-10-15T09:00:00+00:00","2026-10-15T09:00:27+00:00",15,62,{"name":48,"slug":49,"bio":50,"avatar_url":14,"website_url":14,"social_links":14},[98],{"id":53,"slug":54,"name":55,"description":14,"meta_title":56,"meta_description":57,"parent_id":14},[100,103,104,105],{"id":53,"slug":101,"name":102},"anti-detection","Anti-Detection",{"id":68,"slug":69,"name":70},{"id":60,"slug":61,"name":62},{"id":64,"slug":65,"name":66},{"id":107,"slug":108,"title":109,"excerpt":110,"featured_image_url":111,"featured_image_alt":109,"card_image_url":112,"og_image_url":113,"published_at":114,"updated_at":115,"content_updated_at":43,"reading_time_minutes":116,"is_featured":40,"indexable":4,"views":117,"author":118,"categories":119,"tags":121},211,"how-websites-detect-ai-browser-agents","How Websites Detect AI Browser Agents in 2026, and Web Bot Auth","Declared AI crawlers are easy to spot; agentic browsers running real Chromium are not. Here is what still identifies them as of October 2026, a decoded signed request, and which vendors actually sign.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fhow-websites-detect-ai-browser-agents-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fhow-websites-detect-ai-browser-agents-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog-covers\u002Fen\u002Fhow-websites-detect-ai-browser-agents-og.webp","2026-10-24T09:00:00+00:00","2026-10-24T09:00:20+00:00",12,52,{"name":48,"slug":49,"bio":50,"avatar_url":14,"website_url":14,"social_links":14},[120],{"id":53,"slug":54,"name":55,"description":14,"meta_title":56,"meta_description":57,"parent_id":14},[122,123],{"id":60,"slug":61,"name":62},{"id":64,"slug":65,"name":66},{"id":125,"slug":126,"title":127,"excerpt":128,"featured_image_url":129,"featured_image_alt":14,"card_image_url":130,"og_image_url":131,"published_at":132,"updated_at":133,"content_updated_at":134,"reading_time_minutes":135,"is_featured":40,"indexable":40,"views":136,"author":137,"categories":138,"tags":140},39,"headless-browsers-proxies-setup","Headless Browsers + Proxies: Complete Setup Guide for Puppeteer and Playwright","Step-by-step guide to configuring Puppeteer and Playwright with proxy rotation, stealth plugins, device emulation, and concurrent scraping patterns using residential proxies.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fheadless-browsers-proxies-setup-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fheadless-browsers-proxies-setup-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fheadless-browsers-proxies-setup-og.webp","2026-02-12T15:02:24+00:00","2026-07-19T03:13:07+00:00","2026-10-03T08:21:22+00:00",10,225,{"name":48,"slug":49,"bio":50,"avatar_url":14,"website_url":14,"social_links":14},[139],{"id":53,"slug":54,"name":55,"description":14,"meta_title":56,"meta_description":57,"parent_id":14},[141,142,143],{"id":60,"slug":61,"name":62},{"id":68,"slug":69,"name":70},{"id":144,"slug":145,"name":146},1,"web-scraping","Web Scraping",{"id":60,"slug":148,"title":149,"excerpt":150,"featured_image_url":151,"featured_image_alt":14,"card_image_url":152,"og_image_url":153,"published_at":154,"updated_at":133,"content_updated_at":155,"reading_time_minutes":156,"is_featured":40,"indexable":40,"views":157,"author":158,"categories":159,"tags":161},"browser-fingerprinting-explained","Browser Fingerprinting Explained: How Websites Track Your Automation","Learn how browser fingerprinting works — canvas, WebGL, AudioContext, and navigator signals — and how to build consistent profiles that avoid detection when scraping with proxies.","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fbrowser-fingerprinting-explained-master.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fbrowser-fingerprinting-explained-card.webp","https:\u002F\u002Fstatic.proxyhat.com\u002Fstorage\u002Fblog\u002Fbrowser-fingerprinting-explained-og.webp","2026-01-19T03:54:37+00:00","2026-02-25T23:40:31+00:00",9,401,{"name":48,"slug":49,"bio":50,"avatar_url":14,"website_url":14,"social_links":14},[160],{"id":53,"slug":54,"name":55,"description":14,"meta_title":56,"meta_description":57,"parent_id":14},[162,163,164],{"id":60,"slug":61,"name":62},{"id":64,"slug":65,"name":66},{"id":53,"slug":101,"name":102},[]]