Sneaker Dev Logo

Playwright Stealth, Puppeteer Stealth and Undetected Chromedriver Explained

By Sneaker Dev Team · Updated

Playwright stealth, puppeteer-extra-plugin-stealth and undetected-chromedriver are open-source add-ons that hide the most obvious signs of browser automation, such as navigator.webdriver and the HeadlessChrome user agent. They help against basic bot checks but not reliably against modern bot managers, which also score IP reputation, deeper fingerprint consistency, automation-protocol side effects and behaviour.

The short answer

Browser automation frameworks were built for testing, not for blending in. Out of the box, Chrome driven by Puppeteer, Playwright or Selenium announces itself in several ways. Stealth plugins patch the best-known of those tells so that simple bot checks see an ordinary browser.

ProjectWorks withLanguageWhat it does
puppeteer-extra-plugin-stealthPuppeteer (via puppeteer-extra)JavaScript / TypeScriptA set of small evasion modules injected into every page
playwright-extra + the same stealth pluginPlaywright (Chromium)JavaScript / TypeScriptBrings the puppeteer-extra plugin system to Playwright
playwright-stealthPlaywrightPythonA port of the same JavaScript patches for Python users
undetected-chromedriverSeleniumPythonPatches the ChromeDriver binary and launches Chrome with fewer automation traces

They are useful, free and easy to try. They are also public, which means bot-management vendors study them just as closely as their users do.

Why automated browsers are easy to spot

A browser controlled through automation differs from a person's browser in a few predictable ways:

  • navigator.webdriver is true. The WebDriver specification requires automated browsers to expose this flag, and it is the first thing many scripts check.
  • The user agent says "HeadlessChrome". Older headless Chrome put that string in the user agent and in client hints.
  • Missing or empty browser objects. Headless builds historically lacked window.chrome, reported no plugins or MIME types, or returned odd values for languages and permissions.
  • Rendering differences. Headless Chrome on a server often reports a software renderer (such as SwiftShader) for WebGL instead of a real GPU, and a screen or window size that no laptop has.
  • Driver artefacts. ChromeDriver historically injected recognisable variables into the page, and the DevTools Protocol that Puppeteer and Playwright use can leave side effects that scripts can observe.

You can read more about the wider set of signals in our glossary entries on headless browsers and browser fingerprinting.

What the stealth projects patch

puppeteer-extra-plugin-stealth

The best-known project. It is a collection of independent evasion modules, each targeting one leak: removing the webdriver flag, replacing "HeadlessChrome" in the user agent, faking a plausible plugin list, adding a window.chrome object, fixing permission query results, spoofing WebGL vendor strings and more. Installing it is a couple of lines:

npm install puppeteer puppeteer-extra puppeteer-extra-plugin-stealth
const puppeteer = require("puppeteer-extra");
const StealthPlugin = require("puppeteer-extra-plugin-stealth");

puppeteer.use(StealthPlugin());
const browser = await puppeteer.launch();

Playwright stealth

Playwright has no official stealth mode. In JavaScript, the playwright-extra package lets you reuse the same stealth plugin with Playwright's Chromium. In Python, the community playwright-stealth package ports the same patches. The idea is identical: inject scripts before the page's own JavaScript runs so that the properties it reads look normal.

npm install playwright playwright-extra puppeteer-extra-plugin-stealth
const { chromium } = require("playwright-extra");
const stealth = require("puppeteer-extra-plugin-stealth")();

chromium.use(stealth);
const browser = await chromium.launch();

undetected-chromedriver

For Selenium users in Python, undetected-chromedriver takes a different route. Instead of only injecting JavaScript, it modifies the ChromeDriver binary to remove known driver markers and launches Chrome with settings closer to a normal user's browser.

pip install undetected-chromedriver
import undetected_chromedriver as uc

driver = uc.Chrome()

Several successors take the idea further by dropping WebDriver entirely and talking to Chrome directly, which removes another class of leaks. The trade-off is a smaller ecosystem and less mature APIs than Selenium, Puppeteer or Playwright.

Where stealth plugins stop working

Stealth plugins were designed when most bot checks were simple property lookups. Modern bot managers such as Akamai, DataDome, PerimeterX (HUMAN), Kasada and Cloudflare look much deeper, and the plugins leave several gaps:

  1. Patches can be detected themselves. Overriding a browser property with JavaScript leaves traces: functions that no longer look native, getters on the wrong prototype, or values that disagree between the main page, iframes and web workers. Inconsistency is a stronger signal than any single property.
  2. The automation protocol leaves side effects. Puppeteer and Playwright control Chrome through the DevTools Protocol. Some of its commands change observable behaviour inside the page, and detection scripts look for those effects.
  3. They do nothing for your IP. A perfect fingerprint from a flagged datacenter range still scores badly. See datacenter vs residential proxies.
  4. They do nothing for behaviour. Instant clicks, no mouse movement and identical navigation paths are visible regardless of fingerprint.
  5. Maintenance lags. These are volunteer projects. The puppeteer stealth plugin in particular has seen little maintenance in recent years, while protection vendors ship updates constantly.

Chrome's newer headless mode, which runs the same code as regular Chrome instead of a separate headless implementation, has closed several of the classic gaps on its own. That helps, but it also means many old patches are no longer the deciding factor.

Stealth plugins vs hosted stealth browsers

When the open-source route stops being enough, teams usually look at commercial stealth and antidetect browsers or hosted browser APIs.

Open-source stealth pluginsHosted or commercial stealth browsers
CostFreeSubscription or per-session pricing
SetupAdd a package to your existing scriptsConnect your framework to a remote browser or use a desktop app
Fingerprint qualityPatches a known list of leaksReal, consistent device profiles, often patched at the engine level
MaintenanceCommunity-driven, sometimes staleVendor-maintained against current detection
ScaleYou run and monitor the browsers yourselfProvider runs the fleet
Best forTesting, light scraping, learningProtected sites, long sessions, many profiles

An antidetect browser keeps a separate, stable fingerprint per profile, which matters when you manage many sessions that should not look related. Hosted browser APIs let you keep writing Playwright or Puppeteer code while the provider handles fingerprints, scaling and updates. For high-volume flows that do not need a full browser, a request-based antibot API is often faster and cheaper per request; our guide on how antibot systems detect bots compares the approaches.

How to evaluate your setup

  1. Check the basics on a fingerprint test page. Confirm the webdriver flag, user agent, WebGL renderer and languages look normal, and that values match between the main page and workers.
  2. Pair the browser with suitable proxies. Match proxy location to the browser's timezone and language, and choose ISP or residential proxies for protected targets.
  3. Test on your real target, not just test pages. Passing a public fingerprint test does not mean passing a bot manager.
  4. Measure success over time. Track block rates per day; a setup that works this week may not next week.
  5. Budget for maintenance. Either you keep patches current, or you pay a provider to.

Responsible use

Stealth tooling has legitimate uses, from end-to-end testing behind bot protection to monitoring and research. Respect each website's terms of service and rate limits, and follow the laws where you operate. Browse the browsers category for maintained options, and compare live pricing in the table below.

Stealth browsers and antibot APIs on Sneaker Dev

Live data from the Sneaker Dev marketplace: starting prices as published by each vendor, ratings from community reviews.

ToolWhat it doesStarting priceRating
Solve Queue-it's new botdetect replacement 'BotDeflect'$0.49 / 1000
5.0 (5)
Vintrack is an open-source monitoring tool for Vinted that automatically tracks new listings based on your search filters and notifies you in real time — so you never miss a deal again.Free / contact
5.0 (4)
Request-based anti-bot bypass solution for DataDome & PerimeterX.€20 / week
5.0 (3)
Affordable request-based antibot solver. V3/SBSD/BMP/BAP starting from €70/100k. Unlimited €500€70 / per 100k sensors
5.0 (1)
The fastest solution for Shape Security, bypass with our request-based solver.$10 / per 1k requests
5.0 (1)
Solverify is an API-based CAPTCHA-solving platform designed for high-scale automation and scraping. It provides low-latency support for services like Cloudflare, DataDome, and AWS WAF at scale.$0.1 / 1000
5.0 (1)
powhttp extension that decodes all antibots.$2500 / month
5.0 (1)
The developer captcha solving platform that streamlines your workflow and helps you automate captchas faster.$10 / month
5.0 (1)
Post WTS Modules UE Guest w/ Promos UE Acc Gen Doordash ACO + Gen Wonder ACO + Gen Mealkits ACOFree / contact
5.0 (1)
Fast, stable ReCAPTCHA solving for real volume.$1 / Per 1000 RequestsNo reviews yet
Cheapest Recaptcha V3 Enterprise API $0.8 / Per 1000 SolvesNo reviews yet
MobilePass is a football ticket tool for sellers, runners and groups who want an easier way to generate, manage and track ticket links.£0.5 / ticketNo reviews yet
See every browsers on Sneaker Dev

Frequently Asked Questions

It injects scripts before a page loads to hide common automation tells, such as the navigator.webdriver flag, the HeadlessChrome user agent and missing browser objects, so that simple bot checks see a normal Chrome browser.

It still hides basic automation signals and is fine for light use, but it has seen little maintenance in recent years and modern bot managers can detect both its patches and the automation protocol behind it.

It is an open-source Python package for Selenium that patches ChromeDriver to remove known driver markers and launches Chrome with fewer automation traces, making Selenium sessions harder to flag than stock ChromeDriver.

Neither is undetectable by default, and both control Chrome through the same DevTools Protocol. Your proxies, fingerprint consistency and behaviour matter far more than the choice of framework.

Consider one when open-source patches no longer pass your target, when you need many long-lived profiles with distinct fingerprints, or when keeping evasions up to date costs more engineering time than a subscription.