Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Playwright (Python)

High-level Python API for automating browser testing and web scraping.

Scraping, browsers and parsing PyPI

Used in agent projects
68
0.5% of 12,697 public repos built with AI coding agents
Rank in scraping, browsers and parsing
#5 of 16
by use in those projects
Downloads
26M
PyPI, last 7 days, playwright
GitHub stars
15K
last push Oct 9, 2026

How Playwright (Python) is used

Playwright (Python) is a dependency in 68 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.5%), #5 of 16 in scraping, browsers and parsing. The most used alternative there is Beautiful Soup. Projects that use it most often also use python-dotenv (58.8%), Pydantic (50.0%), Requests (47.1%).

Often used with Playwright (Python)

python-dotenv58.8% of Playwright (Python) projects · 9.0× more than average
Pydantic50.0% of Playwright (Python) projects · 9.8× more than average
Requests47.1% of Playwright (Python) projects · 8.9× more than average
Uvicorn44.1% of Playwright (Python) projects · 10.3× more than average
Pillow42.6% of Playwright (Python) projects · 18.5× more than average
FastAPI39.7% of Playwright (Python) projects · 9.4× more than average
pytest36.8% of Playwright (Python) projects · 14.1× more than average
Beautiful Soup35.3% of Playwright (Python) projects · 28.0× more than average

By coding agent

Claude Code0.9% of projects set up for it
GitHub Copilot0.8% of projects set up for it
Cursor0.9% of projects set up for it
OpenCode1.6% of projects set up for it
Gemini CLI1.1% of projects set up for it
Devin Desktop1.8% of projects set up for it

Share of public repos configured for each agent that list Playwright (Python) as a dependency.

Install

Packagepip install playwright
Main stacksPython (65), Next.js (2), .NET (1)
Example projectsJosh-XT/AGiXT, simons-freedom/X-monitor, sweetcornna/free-search-mcp, MDalamin5/End-to-End-Agentic-Ai-Automation-Lab, dcwangmit01/amazon-invoice-downloader

Alternatives to Playwright (Python)

All scraping, browsers and parsing

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Beautiful Soup pypi
Python HTML/XML parsing and screen-scraping library for web data extraction.
160 (1.3%) 69M — MIT License
Puppeteer npm
Headless Chrome/Chromium automation for scraping, testing and screenshot generation.
115 (0.9%) 11.4M 95.7K Apache-2.0
lxml pypi
High-performance XML and HTML processing library combining libxml2/libxslt with Python.
98 (0.8%) 88.4M 3,065 BSD-3-Clause
Cheerio npm
jQuery-like syntax for parsing and manipulating HTML/XML with server-side speed.
94 (0.7%) 26.6M 30.5K MIT
fast-xml-parser npm
High-performance XML parser and builder without native dependencies.
58 (0.5%) 83.3M 3,139 MIT
csv-parse npm
Parse CSV files using Node.js streaming Transform API for memory-efficient processing.
51 (0.4%) 20.6M 4,280 MIT
Playwright Core npm
Headless browser automation library for cross-browser testing and web scraping.
49 (0.4%) 122M 97.4K Apache-2.0
soupsieve pypi
CSS selector implementation for BeautifulSoup to query HTML and XML documents.
39 (0.3%) 70.4M 271 —
Is Playwright (Python) right for your project? Ask AgentGid →