Stealth browsers promise automation that looks like a person at the keyboard. Four open-source projects get most of the attention: Camoufox, Nodriver, Patchright and SeleniumBase. We ran all four on the same machine, behind the same German residential proxy session, against the same public bot-detection test pages, in headless and headed mode. This post shows what passed, what leaked, and what to fix. For where these tools fit in a wider setup, see our web scraping overview.
The four tools
| Tool | Engine | Approach | Version tested |
|---|---|---|---|
| Camoufox | Firefox | A modified Firefox build that rotates realistic fingerprints | 0.4.11, browser 159.0 beta |
| Nodriver | Chrome | Drives Chrome directly over the DevTools protocol, without WebDriver | 0.50.99 |
| Patchright | Chrome | A patched Playwright that removes common automation traces | 1.60.1 |
| SeleniumBase | Chrome | Selenium framework with an “undetected” UC mode | 4.51.12, UC mode |
They differ from antidetect browsers, which are desktop apps for managing many browser profiles by hand. These are libraries for code.
What we tested
Every run used one sticky German residential session, a Cable/DSL home connection, so all four tools saw the same exit. We checked:
- The exit: country and connection type, at our own IP lookup.
- WebRTC: whether the browser revealed the machine’s real IP around the proxy.
- Consistency: the browser’s time zone and language against the German exit.
- Four public bot tests: bot.sannysoft.com, BrowserScan’s bot detection page, deviceandbrowserinfo.com’s “Are you a bot?” page, and CreepJS.
- Start-up time: from launch to the first page loaded through the proxy, median of three headless runs.
The results
| Camoufox | Nodriver | Patchright | SeleniumBase UC | |
|---|---|---|---|---|
| Proxy with login | Built in | Experimental option | Built in | Built in |
| Start-up, median | About 30 s | 2.0 s | 2.2 s | 6.7 s |
| Real IP leaked via WebRTC | No | Yes | Yes | No |
| Time zone matched the exit | Yes | No | No | No |
| Headless | ||||
| Sannysoft checks failed | 1 of 31 | 3 of 31 | 3 of 31 | 0 of 31 |
| BrowserScan | Normal | Robot | Robot | Did not finish |
| ”Are you a bot?” | Human | Bot | Bot | Did not finish |
| CreepJS headless score | 0% | 67% | 67% | 0% |
| Headed | ||||
| Sannysoft checks failed | 1 of 31 | 0 of 31 | 0 of 31 | 0 of 31 |
| BrowserScan | Normal | Normal | Normal | Did not finish |
| ”Are you a bot?” | Human | Human | Human | Did not finish |
| CreepJS headless score | 0% | 0% | 0% | 0% |
Camoufox’s start-up time varied most: 5 seconds in one run and about 30 seconds in the others. SeleniumBase’s two “did not finish” results mean the test pages never completed their checks in UC mode, in either mode, so we count them as no result rather than a pass or a fail.
Four findings
1. Headless Chrome still gives itself away. Patchright and Nodriver in headless mode were flagged by every test, and their user agent still said “HeadlessChrome”. The same tools in headed mode passed everything. If you use either one, run it headed, under a virtual display on servers, or change the headless traces yourself. SeleniumBase’s UC mode hid the headless user agent; Camoufox looked the same in both modes.
2. WebRTC leaked the real IP. With Patchright and Nodriver, the browser’s WebRTC check revealed the machine’s own public IP address, even though every page loaded through the proxy. WebRTC can use UDP, which an HTTP proxy does not carry. We tested two Chrome switches with Patchright: --webrtc-ip-handling-policy=disable_non_proxied_udp stopped the leak; --force-webrtc-ip-handling-policy did not. Our guide to WebRTC leaks explains the mechanism.
3. The time zone gave the location away. The three Chrome-based tools reported the machine’s own time zone, not Berlin. A German IP with a clock set elsewhere is an easy inconsistency to spot. Camoufox’s geoip option set the time zone from the exit IP automatically. It also picked an unusual browser language each run, such as Italian for Germany, so set the locale yourself.
4. Test pages are not the real world. Passing a public test shows a tool hides the obvious traces. Real anti-bot systems also weigh network fingerprints, behaviour, request rates and IP reputation. Our guide to TLS and HTTP/2 fingerprinting covers the network side, which none of these pages measured.
Setting each one up with a proxy
All four take a username and password. With the Shifter gateway, the country and a sticky session go in the username.
Camoufox, with location matching on:
from camoufox.sync_api import Camoufox
with Camoufox(headless=True, geoip=True, proxy={
"server": "http://p.shifter.io:443",
"username": f"{USER}-country-de-sid-abc123-ttl-900",
"password": PASSWORD,
}) as browser:
page = browser.new_page()
Patchright, with the two fixes from our test:
from patchright.sync_api import sync_playwright
with sync_playwright() as p:
ctx = p.chromium.launch_persistent_context(
profile_dir, channel="chrome", headless=False, no_viewport=True,
timezone_id="Europe/Berlin", locale="de-DE",
proxy={"server": "http://p.shifter.io:443",
"username": f"{USER}-country-de-sid-abc123-ttl-900",
"password": PASSWORD},
args=["--webrtc-ip-handling-policy=disable_non_proxied_udp"],
)
Nodriver, through its experimental proxy option. Our first attempt, answering the proxy login by hand over the DevTools protocol, hung; this option worked:
import nodriver as uc
browser = await uc.start()
tab = await browser.create_context(
"about:blank",
proxy_server=f"http://{USER}-country-de-sid-abc123-ttl-900:{PASSWORD}@p.shifter.io:443",
)
SeleniumBase, in UC mode:
from seleniumbase import SB
with SB(uc=True, proxy=f"{USER}-country-de-sid-abc123-ttl-900:{PASSWORD}@p.shifter.io:443") as sb:
sb.open("https://example.com")
For the Chrome-based tools, add the WebRTC switch and set the time zone and language to match the exit. Our guide to residential proxies in Playwright covers sessions and bandwidth in more depth.
Which one to choose
- Camoufox if you want the most done for you: it passed BrowserScan, the bot test and CreepJS in both modes, failed one Sannysoft check, matched the time zone and did not leak. Accept the slower start and Firefox’s differences, and set the language yourself.
- Patchright if you already use Playwright: fast, and clean in headed mode once the WebRTC switch and time zone are set.
- Nodriver if you want a light, fast Chrome driver and can live with an experimental proxy option. Same fixes as Patchright.
- SeleniumBase if your code is built on Selenium: clean on Sannysoft and CreepJS, no WebRTC leak, but two of the four tests never completed for it, so test it against your own targets.
Whichever you pick, use it for legitimate work: testing your own sites, monitoring public pages and collecting public data, at a pace sites can handle. For agents built on these browsers, our guide to Browser Use agents behind residential proxies covers sessions and concurrency, and residential proxies provide the local exits.
How we tested
On 25 November 2026 we ran each tool on an Intel Mac mini with macOS 15.8 and Chrome 158, using the versions listed above. Every run used the same sticky German residential session. Each tool ran once in headless and once in headed mode against the same pages, in the same order, with fixed waits for each page to finish. Start-up times are the median of three further headless runs. Nodriver ran on Python 3.15 because its current version needs Python 3.10 or later; the others ran on Python 3.9. The real IP check compared WebRTC candidates with the machine’s own address without recording it. Results are a snapshot: these tools and the test pages change often, and one machine and one exit cannot represent every setup.
The bottom line
Behind the same residential proxy, Camoufox was the only tool that passed the bot verdicts in both modes without extra work, at the cost of a slow start and one Sannysoft check. Patchright and Nodriver were fast and passed in headed mode but leaked the real IP through WebRTC and kept the machine’s time zone until fixed. SeleniumBase’s UC mode was clean where the tests finished. Whatever you choose, fix WebRTC, match the time zone to the exit and test against the sites you actually use.
Sources and references
- Camoufox: camoufox.com
- Nodriver: github.com
- Patchright: github.com
- SeleniumBase, UC mode: seleniumbase.io
- Sannysoft bot test: bot.sannysoft.com
- BrowserScan, bot detection: browserscan.net
- Device and browser info, Are you a bot: deviceandbrowserinfo.com
- CreepJS: abrahamjuliot.github.io
- IETF, RFC 8828, WebRTC IP address handling requirements: rfc-editor.org