Skip to content

pydoll

7,155 7 22 MIT
3.0.1 (8 Nov 2026) Jun 01 2024 86.5 thousand (month)

Pydoll is a Python library for browser automation that uses the Chrome DevTools Protocol (CDP) directly, designed to be undetectable by anti-bot systems. Unlike Selenium-based tools, Pydoll does not use WebDriver and avoids the common detection vectors that anti-bot systems look for.

Key features include:

  • Native CDP communication Connects directly to Chrome/Chromium via CDP websocket without intermediary drivers, avoiding the automation flags and fingerprints that WebDriver-based tools leave behind.
  • Event-driven architecture Built around an async event system that can listen for and react to browser events like network requests, console messages, and DOM changes.
  • Network interception Can intercept, modify, and mock network requests and responses, useful for blocking unnecessary resources or modifying API responses during scraping.
  • Async-first design Fully asynchronous API built on Python's asyncio for efficient concurrent automation.
  • Clean API Provides a high-level, Pythonic API for common browser automation tasks while still allowing direct CDP command execution for advanced use cases.
  • Multi-browser support Can manage multiple browser instances and pages concurrently.

Pydoll fills a similar niche to nodriver and camoufox — browser automation with a focus on avoiding detection — but takes a different approach by providing more granular control over CDP communication and network interception.

Highlights


anti-detectcdpasync

Example Use


import asyncio
from pydoll.browser import Chrome
from pydoll.constants import By

async def main():
    async with Chrome() as browser:
        # Open a new page
        page = await browser.new_page()
        await page.go_to("https://example.com")

        # Find and interact with elements
        search_input = await page.find_element(By.CSS, "input[name='q']")
        await search_input.type_text("web scraping")

        submit_btn = await page.find_element(By.CSS, "button[type='submit']")
        await submit_btn.click()

        # Wait for results and extract content
        await page.wait_element(By.CSS, ".results")
        results = await page.find_elements(By.CSS, ".result-item")

        for result in results:
            title = await result.get_text()
            print(title)

        # Network interception example
        await page.enable_network_interception()
        # intercept and analyze API calls made by the page

asyncio.run(main())

Alternatives / Similar


12,918 3.5.5 (2024-02-17 17:18:36 ago) Sep 04 2020 compare
13,900 0.5.9 (2026-11-01 06:22:04 ago) Mar 01 2024 compare
4,969 0.50.99 (2026-10-26 13:47:46 ago) Jan 15 2024 compare
861 1.9.4 (2024-10-22 01:41:19 ago) Jul 22 2022 compare
15,138 1.65.2 (2026-11-14 00:28:39 ago) Feb 24 2021 compare
7,271 v0.6.1 (2024-03-02 18:08:29 ago) Feb 23 2022 compare
6,933 0.17.0 (2026-10-26 04:12:42 ago) Feb 23 2022 compare
34,616 4.54.0 (2026-11-23 09:08:00 ago) Apr 25 2008 compare
638 2.0.1 (2026-09-13 00:17:31 ago) Jun 01 2024 compare
122,292 1.0.9 (2026-11-26 23:16:49 ago) Nov 01 2024 compare
1,837 0.7.1 (2026-11-13 15:27:15 ago) Dec 28 2012 compare
5,879 4.0.97 (2026-01-06 07:45:54 ago) Oct 01 2023 compare
1,023 0.9.2 (2024-12-01 02:55:27 ago) Feb 23 2022 compare
23,559 1.0.58 (2026-11-15 00:18:00 ago) Feb 01 2024 compare
4,190 3.5 (2020-06-16 13:27:02 ago) Apr 25 2014 compare

Other Languages

101,263 1.65.1 (2026-11-28 05:27:44 ago) Jan 23 2015 compare
rod
7,161 v0.116.2 (2024-07-12 11:52:28 ago) Sep 23 2022 compare
26,174 4.5.0 (2026-11-27 21:43:59 ago) Oct 29 2024 compare
95,915 2.11.2 (2023-04-11 04:13:00 ago) May 29 2018 compare
7,426 3.3.6 (2023-03-01 12:19:02 ago) May 15 2018 compare
13,387 v0.24.0 (2026-11-18 05:04:28 ago) Mar 11 2022 compare
3,072 v2.4.0 (2026-01-08 05:29:21 ago) Jul 17 2018 compare
Was this page helpful?