nodriver is the successor to undetected-chromedriver: an async Python library that talks to Chrome over the DevTools protocol directly, without a WebDriver executable in between. For scraping that matters because a whole category of automation markers comes from the driver layer rather than from the browser.
In nodriver python code that means an async entry point, a browser launched with your flags, and pages driven as coroutines. This guide covers where the proxy goes, the authentication problem that trips most first setups, how sessions work when the browser holds the state, and an honest account of what the tool does not solve.
Key Facts
- nodriver drives Chrome directly over the DevTools protocol, with no WebDriver binary in the path, which removes a whole family of automation markers that Selenium leaves behind.
- The proxy is a browser launch flag, so it applies to every request the page makes, not just the document.
- Authenticated proxies are the sharp edge: Chrome takes no credentials in the proxy flag, so plan for a credential-free gateway or handle the auth prompt explicitly.
- One browser, one exit, one session. Cookies and storage belong to the profile, so rotating exits under a live browser contradicts the state it already holds.
- It is not an invisibility cloak. Fewer automation markers is not zero signals: pacing, behaviour and network identity still decide most outcomes.
How does nodriver differ from Selenium?
Three differences that matter to a scraper.
No driver binary. Selenium launches a WebDriver process that speaks to the browser and leaves recognisable traces in the environment. nodriver connects to Chrome’s own protocol, so those traces are simply absent rather than patched away.
Async by design. The API is coroutine-based, which fits a scraper that manages several tabs or contexts without a thread per page.
Fewer moving versions. No driver-to-browser version matching, which removes the most common reason a Selenium scraper breaks after a Chrome update.
What stays the same: it is a real browser, so it costs real memory and time per page. Use it where rendering or runtime evidence is genuinely required, and keep an HTTP client for everything else.
Where does the proxy go?
On the browser launch arguments, so it covers the document and every asset, script and XHR the page triggers.
import nodriver as uc
async def main():
browser = await uc.start(
browser_args=["--proxy-server=http://gw.dataimpulse.com:823"],
headless=False,
)
page = await browser.get("https://example.com")
html = await page.get_content()
await browser.stop()
uc.loop().run_until_complete(main())
Note what is missing from that flag: credentials. Chrome’s proxy-server argument takes a host and port, not a username and password, which is the single most common reason a first nodriver setup fails with an authentication prompt that nobody sees in headless mode.
Two workable approaches. Use a gateway that authenticates by allowlisted IP rather than by credentials, which removes the problem entirely. Or handle the authentication challenge in code by responding to the browser’s auth-required event with your credentials. Whichever you choose, verify the exit before you trust the run: fetch an IP echo endpoint through the browser and assert the address is the one you expect.
How do sessions work when the browser holds the state?
The rule is one browser, one exit, one session, for the whole life of the journey.
Cookies, local storage and any issued tokens live in the browser profile. If your pool hands out a different exit halfway through, the state the site issued to one address arrives from another, which is exactly the contradiction detection systems are built to notice. In practice that means the exit is chosen at launch, not per request, and a new identity means a new browser with a fresh profile.
For parallelism, run several browsers rather than several tabs sharing one profile, and cap how many run at once per target. The limit that matters is requests per host per minute, not browsers per machine, and a browser makes far more requests per page than you think once assets are counted.
The session model itself is language-agnostic and covered in our guide to proxy rotation best practices.
What does it actually solve, and what does it not?
| Problem | Does nodriver help? |
|---|---|
| Driver-level automation markers | Yes. That is the point of the design |
| Pages that render client-side | Yes. It is a real browser |
| Challenge scripts that need a real runtime | Partly. A real browser can execute them; how the result is judged is not up to you |
| Network identity from a hosting range | No. That is the exit layer’s job |
| Request pacing and volume | No. A browser does not make aggressive crawling acceptable |
| Cost per page | No, it raises it. Ten to fifty times a plain fetch is normal |
Use nodriver when the page genuinely needs a runtime and driver traces were your problem. Avoid it when a plain fetch returns the same data, when the block is clearly network-level, or when volume makes per-page browser cost the dominant line in your budget.
What are the limits and the rules?
Tooling that reduces automation markers sits close to a line worth naming. We use and describe these tools for collecting public data with a client that behaves consistently: that is a legitimate engineering goal. We do not cover defeating access controls, solving CAPTCHAs, or automating around systems you are not authorised to use, and we would not recommend building a pipeline that depends on any of those.
Practically: honour robots.txt and the site terms, prefer an official API where one exists, keep away from logged-in content, and treat personal data as a lawful-basis question. General information rather than legal advice; see is web scraping legal, and 403 Forbidden when scraping for diagnosing a block before reaching for a browser at all.
Frequently Asked Questions
How do I use an authenticated proxy with nodriver?
Chrome’s proxy-server flag takes only a host and port, so credentials cannot go there. Either use a gateway that authenticates your machine by IP allowlist, or handle the browser’s authentication-required event in code and supply the credentials then. Always verify the exit with an IP echo request before trusting the run.
Is nodriver better than undetected-chromedriver?
It is the successor and it removes the WebDriver binary entirely, which eliminates driver-level traces rather than patching them. That is a real improvement, but it changes one signal family among several: network identity, pacing and behaviour still decide most outcomes.
Can I rotate proxies inside one nodriver session?
You should not. The browser profile holds cookies and tokens issued to the address you started with, so switching exits mid-session sends that state from a different address. Choose the exit at launch and start a new browser with a fresh profile when you want a new identity.
Does nodriver make my scraper undetectable?
No, and any tool that claims that is overselling. It removes a family of automation markers. A real browser with an implausible device profile, an aggressive request rate or a hosting-range exit is still trivially classifiable.
When should I not use a browser at all?
When the data is in the server-rendered HTML or an underlying JSON endpoint. Fetch the page plainly, search for one known value, and if it is there, skip the browser: you will save an order of magnitude in time and memory per page.
A real browser still needs the right exit
nodriver handles the runtime; the exit is a separate decision. DataImpulse residential proxies give geo-accurate exits at $1 per GB across 195 countries, sticky sessions for journeys, over HTTP, HTTPS and SOCKS5. Create an account and verify the exit from inside the browser before scaling.
Related: Crawl4AI proxy setup · how detection systems score a request · proxies for Puppeteer.
Last updated: September 17, 2026.
