Skip to main content

Pydoll

Pydoll is an async Python web automation library built on Chrome DevTools Protocol (CDP). It is designed for browser automation on anti-bot-protected sites, with first-class support for fingerprint evasion, proxy configuration, and behavioral mimicry. Docs: https://pydoll.tech

Core Design

Uses CDP directly rather than WebDriver (Selenium/Playwright), which eliminates the navigator.webdriver automation flag at the source — no patching required. All operations are async (asyncio).

Key Capabilities

  • WebRTC leak protection: options.webrtc_leak_protection = True adds --force-webrtc-ip-handling-policy=disable_non_proxied_udp
  • Proxy support: HTTP, HTTPS, SOCKS4, SOCKS5; includes a built-in SOCKS5Forwarder to work around Chrome’s lack of inline SOCKS5 authentication
  • Browser preferences API: direct control over WebRTC settings, multiple routes, nonproxied UDP
  • Request interception: header consistency enforcement
  • Behavioral mimicry: human-like timing, entropy injection

Documentation Modules