Puppeteer Stealth vs undetected-chromedriver vs Camoufox (2026)
We ran Puppeteer Stealth, undetected-chromedriver and Camoufox against the same detection page and checked each repo’s maintenance. Here’s what each hides, what none of them can, and when to pick which.

Your scraper passed every bot test last month. This week it's blocked on page one.
Nothing in your code changed. What changed is that the site's anti-bot vendor shipped a new check, and the stealth tool you installed two years ago never heard about it.
That's the real story behind Puppeteer Stealth, undetected-chromedriver and Camoufox. They're the three names you'll see in every "how to avoid bot detection" thread. They work in very different ways, they're maintained at very different speeds, and none of them fixes the thing that gets most scrapers blocked.
We installed all three on a Linux server, ran them against the same detection page, and checked each project's repository for signs of life. One of them reported a Mac graphics card from inside a Windows browser running on Linux. Here's what we found.
- Puppeteer Stealth, undetected-chromedriver and Camoufox hide automation at three very different layers.
- Two of the three haven’t shipped a release in well over a year.
- Patching values one by one can create a device that doesn’t exist.
- Camoufox was the most consistent in our test, with one honest trade-off on servers.
- None of them changes your IP, which is what gets most scrapers blocked first.
What "Stealth" Tools Actually Try to Hide
Automated browsers leak dozens of small tells, and stealth tools patch the best-known ones. A site doesn't need to catch all of them. One or two inconsistent signals are often enough.
The classic giveaways in automated Chrome are:
navigator.webdriverset totrue, which the WebDriver standard requires for automated sessions.HeadlessChromein the user agent when you run without a window.- Missing or odd browser features in headless mode, such as plugins, permissions behavior or window sizes.
- Automation leftovers, like variables a driver injects into the page or how scripts get evaluated.
- A graphics card string that doesn't match the claimed device, such as a server's software renderer.
Those are browser-level signals. Our guide to how anti-bot systems detect bots covers the rest of the stack: IP reputation, TLS fingerprints, request timing and behavior. Keep that wider picture in mind, because it's where all three tools hit a wall.
Puppeteer Stealth: JavaScript Patches for Chrome
puppeteer-extra-plugin-stealth is a set of JavaScript patches that run in each page before the site's own scripts. It plugs into puppeteer-extra, and the same plugin also works with playwright-extra.
The project's repository lists 17 separate evasion modules. They cover the familiar leaks: navigator.webdriver, the headless user agent, navigator.plugins, languages, permissions, the window.chrome object, WebGL vendor strings, iframe quirks and window dimensions.
const puppeteer = require('puppeteer-extra');
const StealthPlugin = require('puppeteer-extra-plugin-stealth');
puppeteer.use(StealthPlugin());
(async () => {
const browser = await puppeteer.launch({ headless: true });
const page = await browser.newPage();
await page.goto('https://example.com');
console.log(await page.evaluate(() => navigator.webdriver)); // false
await browser.close();
})();Setup really is two lines, which is why it became the default answer on forums. We ran this exact pattern on Chrome 156 and navigator.webdriver came back false.
1Where It Falls Short
Here's the catch: the last npm release of the stealth plugin, version 2.11.2, was published on March 1, 2023, and the repository's main branch hasn't moved since. Chrome has shipped dozens of versions since then, and anti-bot vendors have kept going.
The patches also work by overriding JavaScript values. A careful script can sometimes spot an overridden function, and the overrides can disagree with each other.
Our test showed exactly that. On a Linux server, the plugin's defaults turned the browser into "Windows" with a Win32 platform, then reported its graphics as "Intel Iris OpenGL Engine", a renderer string from Apple's Macs. Each patch made sense alone. Together they described a machine that doesn't exist.
Even the author's own README is candid about the limits. It says it's "probably impossible to prevent all ways to detect headless chromium", and calls the goal making detection expensive rather than impossible.
2Setup Gotchas
- With
puppeteer-corethere's no bundled browser, so passexecutablePathto your installed Chrome inlaunch(). - The user agent is rewritten by default. On Linux it claimed Windows in our run. If your proxy, timezone and fonts say Linux, that mismatch is worse than the headless tell you were hiding.
- You can switch evasions off one by one through the plugin's
enabledEvasionsoption, which helps when a patch breaks a site or contradicts your setup.
Our take: fine for lightly protected sites and quick projects in Node.js. Don't expect it to pass a modern commercial bot wall on its own, and check its patched values match the machine you claim to be.
undetected-chromedriver: A Patched Driver for Selenium
undetected-chromedriver is a Python package that downloads ChromeDriver, patches the binary and launches Chrome in a less detectable way. Its README describes it as an "optimized Selenium Chromedriver patch".
It's a drop-in replacement for Selenium's Chrome driver, which is its big appeal. Existing Selenium code mostly keeps working.
import undetected_chromedriver as uc
driver = uc.Chrome() # downloads and patches a matching chromedriver
driver.get("https://example.com")
print(driver.execute_script("return navigator.webdriver")) # False
driver.quit()In our headed test, run under a virtual display, it did its main job: navigator.webdriver was false where plain Selenium reported true, and the user agent looked like normal Chrome.
1Where It Falls Short
Headless mode is the weak spot. The README says plainly that headless "is still WIP". In our headless run on Chrome 156, the webdriver flag was hidden, but the user agent still announced HeadlessChrome/156. That one string is enough for many sites to block you.
Maintenance has slowed too. The latest PyPI release, 3.5.5, dates from February 2024, and the last commit on GitHub is from July 2025. The same author now puts new work into nodriver, a separate project that drives Chrome directly over the DevTools protocol without Selenium. It had a release on October 26, 2026.
The licence matters if you ship software. undetected-chromedriver is GPL-3.0 and nodriver is AGPL-3.0, both copyleft. That's fine for internal scrapers, but check with whoever owns licensing before you bundle either into a product.
2Setup Gotchas
- Driver version mismatches are the most common crash. If it downloads a driver for the wrong Chrome, pass
version_mainwith your Chrome's major version, as we did with 156. - Use the full browser path with
browser_executable_pathwhen you have more than one Chrome installed. - On a server, run headed under a virtual display such as Xvfb rather than headless, given the user agent leak above.
Our take: still useful if you have a Selenium codebase and can run a real window. For new Python projects, look at nodriver or Camoufox instead.
Camoufox: A Patched Firefox Driven by Playwright
Camoufox isn't a plugin at all. It's a modified Firefox build that reports a fake device from inside the browser's C++ code. You drive it with Playwright, and it returns a normal Playwright browser object.
Its README explains the difference. Each launch draws a complete, internally consistent device from a real-world distribution of devices, and the browser answers questions about screen, WebGL, fonts, audio and WebRTC natively. A page sees real values, not JavaScript overrides it could catch. Playwright's own scripts also run in an isolated world the page can't see.
from camoufox.sync_api import Camoufox
with Camoufox(headless=True) as browser: # run `camoufox fetch` once first
page = browser.new_page()
page.goto("https://example.com")
print(page.evaluate("navigator.webdriver")) # FalseIn our test, both headless and headed runs reported navigator.webdriver as false, a normal Firefox 158 user agent and no headless tells. The project is very active: its last commit and release landed on November 22, 2026.
1Where It Falls Short
Camoufox claimed a different graphics card on every launch: an AMD Radeon in one run, an NVIDIA GeForce in the next. Our server has no GPU at all.
Camoufox knows this is a problem. It printed its own warning that canvas and WebGL readback would return random data, which makes the browser look like a privacy-hardened Firefox such as Tor Browser or LibreWolf rather than stock Firefox.
That's an honest trade, documented in its README, but it's a trade. A cloud server without a GPU is a hard place to fake a gaming laptop from. Camoufox offers options for this, including a virtual GPU mode, so read its rendering section before you deploy.
Two more things to know. It's Firefox, so it won't help if a site only behaves well for Chrome. And its releases are labelled beta, so pin a version and test upgrades.
Our take: the strongest of the three on fingerprint consistency, and the only one under active development. Best for new Python or Node.js projects that can use Playwright.
Head-to-Head: What Our Detection Page Saw
We pointed every setup at the same local page that reads the common automation signals. Same Linux server, same Chrome 156 build for the Chrome-based tools, all on November 24, 2026.
| Setup | navigator.webdriver | User agent | Notable signal |
|---|---|---|---|
| Plain Puppeteer, headless | true | HeadlessChrome/156 | Software (SwiftShader) graphics |
| Puppeteer + Stealth, headless | false | Chrome/156 on "Windows" | Mac GPU string on a Linux host |
| Plain Selenium, headless | true | HeadlessChrome/156 | Window size 0×0 |
| undetected-chromedriver, headless | false | HeadlessChrome/156 | Headless user agent still visible |
| undetected-chromedriver, headed | false | Chrome/156 on Linux | Clean on these checks |
| Camoufox, headless and headed | false | Firefox/158 on Linux | Random GPU per launch, canvas noise on |
Treat this as a smoke test, not a ranking. A local page checks the obvious tells. Commercial anti-bot systems weigh hundreds of signals plus your IP and behavior, and they change monthly. For deeper checks, run each setup through the public tools in our browser fingerprint test tools roundup.
Side-by-Side Comparison
| Puppeteer Stealth | undetected-chromedriver | Camoufox | |
|---|---|---|---|
| What it is | Plugin of JavaScript patches | Patched ChromeDriver for Selenium | Patched Firefox build |
| Browser | Chrome or Chromium | Chrome | Firefox |
| Language | Node.js | Python | Python, Node.js |
| Drives with | Puppeteer (or Playwright via playwright-extra) | Selenium | Playwright |
| Where patches live | Page JavaScript | Driver binary and launch | Browser C++ code |
| Headless | Supported | Work in progress per README | Supported |
| Latest release (checked Nov 24, 2026) | 2.11.2, March 2023 | 3.5.5, February 2024 | Beta, November 2026 |
| Licence | MIT | GPL-3.0 | MPL-2.0 |
| Best for | Quick Node.js jobs on light protection | Existing Selenium code, headed | New projects needing consistent fingerprints |
Other Projects Worth Knowing
The stealth space moved on from the original three, and a few newer projects fill the gaps. We didn't run these in our test, so this is based on their repositories as of November 24, 2026.
- nodriver: the successor from undetected-chromedriver's author. It talks to Chrome over the DevTools protocol directly, with no Selenium and no ChromeDriver. Python, AGPL-3.0, released October 26, 2026.
- Patchright: describes itself as an "undetected version" of Playwright, patched to remove common automation leaks while keeping the Playwright API. Apache-2.0, with a PyPI release on November 2, 2026.
- rebrowser-patches: a set of patches for Puppeteer and Playwright that target leaks in how they talk to the browser. MIT licensed, updated November 2, 2026.
The pattern is clear. Projects that patch deeper than page JavaScript, and that ship often, are the ones keeping up. Before adopting any of them, check the date of the last release, not the star count.
What None of These Tools Can Hide
A stealth browser on a flagged IP is still a flagged visitor. All three tools change what the browser says about itself. None of them changes where the request comes from.
1Your IP Address
Run any of these from a cloud server, and the site sees a data center IP address. Many sites score that before a single line of JavaScript runs. Camoufox's own README makes the same point in a sponsor note: it hides the browser, not the proxy IP.
The fix is the right proxy for the target. Residential or mobile IPs look like home users, and our residential vs datacenter proxies guide explains when each is worth paying for. You can compare providers in our proxy directory.
2Your TLS and HTTP Fingerprint
Before the page loads, the TLS handshake already reveals what software is connecting. Real Chrome and real Firefox produce genuine handshakes, which is one reason browser-based tools beat raw HTTP libraries. But the handshake has to match the browser you claim. A Firefox handshake from a "Chrome" user agent is a mismatch. Our explainer on TLS fingerprinting goes deeper.
3Your Behavior
Perfect fingerprints can't save a bot that loads 500 pages a minute with no scrolling and no mouse movement. Slow down, randomize timing and reuse sessions the way a person would.
Common mistake: stacking a stealth plugin on top of a datacenter proxy and then blaming the plugin. Fix the IP first, then worry about the fingerprint.
When an Antidetect Browser Is the Better Route
If you manage logged-in accounts rather than scrape public pages, an antidetect browser usually beats all three. The job is different.
Stealth tools give you a fresh, disposable browser per run. Account work needs the opposite: the same believable device every day, with its cookies, history and proxy kept together for months. Antidetect browsers store each identity as a profile, keep a proxy attached to it and let a team share profiles safely.
Most of them also expose a local API that your Puppeteer, Playwright or Selenium code can attach to, so you don't give up automation. Our guide to how antidetect browsers work explains the model, and you can compare options in the antidetect browser directory.
| Your job | Best fit |
|---|---|
| Scrape public pages, light protection, Node.js | Puppeteer Stealth (check the values it reports) |
| Existing Selenium scraper you can run headed | undetected-chromedriver, or move to nodriver |
| New scraper that needs consistent fingerprints | Camoufox with a good proxy |
| Many logged-in accounts over weeks or months | An antidetect browser with one proxy per profile |
| Heavy anti-bot targets at scale | A scraping API or unblocker that manages all layers |
How to Test Your Own Setup Before You Scale
Test the exact setup you'll run in production, on the machine you'll run it on. A stealth tool that passes on your laptop can fail on a server with no GPU, as our Camoufox run showed.
- Read your own signals. Load a page that prints
navigator.webdriver, the user agent, platform and WebGL renderer. Check they describe one believable device. - Run public fingerprint tests from the server, not your laptop.
- Check the IP your target sees, and its reputation.
- Try the real target slowly. Ten pages at human pace tell you more than any test site.
- Pin versions. Lock the browser and the tool version, and re-test before every upgrade.
If headless is the problem, a common middle ground is running a real, headed browser on a virtual display, which is exactly how we ran the headed tests here. It costs a little more memory and removes a whole class of headless tells. Our headless browsing guide covers the trade-offs.
Frequently Asked Questions
Pick the Tool, Then Fix the IP
All three tools solve the same small problem: making an automated browser look less automated. They solve it at different depths. Puppeteer Stealth patches the page, undetected-chromedriver patches the driver, and Camoufox patches the browser itself.
Our take: for new work, Camoufox is the strongest and the only one moving fast. Puppeteer Stealth and undetected-chromedriver still help on easy targets, but both are effectively in maintenance mode, and on modern bot walls a three-year-old patch set is a liability.
Whichever you choose, test it on your production machine with your production proxy. The browser is only half the disguise.
Keep Reading
More articles you might enjoy


