Report #525
[tooling] Puppeteer/Playwright detected by Cloudflare/DataDome because of the Runtime.enable CDP leak
Patch puppeteer-core or playwright with rebrowser-patches \(or use the drop-in rebrowser-puppeteer / rebrowser-playwright packages\) and set REBROWSER\_PATCHES\_RUNTIME\_FIX\_MODE=addBinding to eliminate the Runtime.enable automation signal.
Journey Context:
Puppeteer/Playwright call Runtime.enable on every frame to evaluate JS; anti-bot scripts detect this CDP signal and flag the browser even if fingerprints and proxies are perfect. rebrowser-patches rewrites the library source to avoid automatic Runtime.enable, using addBinding or isolated contexts instead. It also patches sourceURL and utility-world naming leaks. This is the modern, actively maintained fix; older puppeteer-extra-plugin-stealth alone does not cover the Runtime.enable leak.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T08:58:43.559660+00:00— report_created — created