Puppeteer vs Playwright Core
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Puppeteer is a dependency in 86 (1.8%) and Playwright Core in 80 (1.6%), close to even. Among repos created in the last 90 days that use a scraping, browsers and parsing tool, Puppeteer is in 0.0% and Playwright Core in 40.0%, against 18.5% and 15.5% of older ones. No project in the scan lists both: projects pick one.
Scraping, browsers and parsing npm Updated Nov 17, 2026
| Puppeteer | 1.8% | |
|---|---|---|
| Playwright Core | 1.6% |
Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.
Side by side
| Puppeteer | Playwright Core | |
|---|---|---|
| Agent projects that use it | 86 | 80 |
| Rank in scraping, browsers and parsing | #2 | #4 |
| In new repos with a scraping, browsers and parsing tool (last 90 days) | 0.0% | 40.0% |
| In older repos with one | 18.5% | 15.5% |
| Downloads, last 7 days | 15.3M | 192M |
| GitHub stars | 95.8K | 100K |
| Last push to its repo | Nov 17, 2026 | Nov 17, 2026 |
| License | Apache-2.0 | Apache-2.0 |
| Funding | — | — |
| Projects that list both | 0 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | Puppeteer | Playwright Core |
|---|---|---|---|
| Claude Code | 2,617 | 1.9% | 2.6% |
| GitHub Copilot | 2,350 | 2.0% | 1.6% |
| Cursor | 1,990 | 2.1% | 0.5% |
| Gemini CLI | 422 | 2.6% | 5.5% |
| OpenAI Codex | 409 | 0% | 1.7% |
| OpenCode | 304 | 1.6% | 2.0% |
| OpenClaw | 241 | 0% | 13.3% |
| Devin Desktop | 231 | 2.6% | 0% |
| Continue | 51 | 9.8% | 0% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
Puppeteer
Headless Chrome/Chromium automation for scraping, testing and screenshot generation.
Most often used with it:
| dotenv | 50.0% of its projects |
|---|---|
| Axios | 38.4% of its projects |
| Playwright (JavaScript) | 43.0% of its projects |
| TypeScript | 74.4% of its projects |
| Jest | 24.4% of its projects |
npm install puppeteer
Playwright Core
Headless browser automation library for cross-browser testing and web scraping.
Most often used with it:
| Vitest | 73.8% of its projects |
|---|---|
| tsx | 60.0% of its projects |
| Zod | 72.5% of its projects |
| ws | 52.5% of its projects |
| undici | 51.2% of its projects |
npm install playwright-core
More matchups
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.