Verdict
Puppeteer is the most direct way to script Chrome from JavaScript, and since v23 it drives Firefox too.3 It is free under Apache 2.0, ships a matched Chrome for Testing build with every release, and covers screenshots, PDFs, request interception, tracing and, since September, video screen recording.157 Releases arrive every week or two, and Google's Chrome team maintains it.73 The trade-offs: it is a library, not a test framework, so you bring your own runner, reports and parallelism; it supports only JavaScript and TypeScript; and its WebDriver BiDi mode still lacks many features that work over Chrome's own protocol.34 For automation, rendering and agents that live in Chrome, it is excellent. For a cross-browser end-to-end test suite, Playwright does more out of the box.
Last reviewed: Oct 2026
Rubric (shared with our Playwright, Cypress, Selenium and WebdriverIO reviews): Clarity covers whether the product and its pricing are easy to understand. Openness covers source access, self-hosting, licensing and portability. Controls covers security, sandboxing, network controls and patching. Lifecycle fit covers how it plugs into plan, build, test, ship and operate. *Free, one package, clear docs and a browser-version table; the BiDi pages disagree on maturity. †Apache 2.0, standard protocols and no service to sign up for. ‡Runs off-process from the browser, with request interception and new allow and block lists; no published advisories, but security fixes arrive quietly in release notes. §Strong for automation, rendering and agent tooling; testing needs a separate runner.
At a glance
| What it is | A JavaScript library with a high-level API to control Chrome or Firefox over the Chrome DevTools Protocol (CDP) or WebDriver BiDi, headless by default.1 |
|---|---|
| Who makes it | Google's Chrome Browser Automation team maintains it, with outside contributors.3 |
| License | Apache 2.0.6 |
| Price | Free. There is no paid tier, cloud or support plan.16 |
| Latest release | 25.16.0 (Oct 22), paired with Chrome for Testing 156.0.8078.47 and Firefox 158.0.1.57 |
| Packages | puppeteer downloads a compatible Chrome on install; puppeteer-core is the library alone.1 |
| Adoption | About 95,700 GitHub stars. npm counted about 14.3 million puppeteer and 28.1 million puppeteer-core downloads in the week of Sep 28–Oct 4; CI installs inflate these counts.610 |
What it is today
Puppeteer launches or connects to a browser and gives you pages, frames, locators, keyboard and mouse input, network interception and JavaScript evaluation. Google lists form automation, UI testing, performance traces, testing Chrome extensions, screenshots and PDFs, and pre-rendering single-page apps as typical uses.2 Each release is tied to a specific Chrome for Testing and Firefox version so browser changes don't break it unexpectedly.35 Chrome uses CDP by default; Firefox uses WebDriver BiDi, the cross-browser standard that Selenium also contributes to.34
Pricing
| Option | Price | What you get |
|---|---|---|
| puppeteer | $0 | The library plus a matched Chrome for Testing download.1 |
| puppeteer-core | $0 | The library only, for your own browser install.1 |
| chrome-devtools-mcp | $0 | A separate, Apache 2.0, Puppeteer-based MCP server for coding agents.19 |
Your costs are the machines and CI minutes that run browsers. Puppeteer has no hosted grid or dashboard; for parallel runs and reporting, you rely on your test runner or a third-party service.3
Key capabilities
- Chrome and Firefox: CDP for Chrome, with WebDriver BiDi as an option, and BiDi by default for Firefox.34
- Output: screenshots, PDFs, performance traces and, since 25.10.0, video-stream screen recording with
page.record().27 - Network control: request interception, and since October allow and block lists as an API, applied to service workers too.7
- Locators: locators with ARIA and text selectors, with
Locator.fillnow rejecting read-only elements.17 - Agents: chrome-devtools-mcp lets coding agents drive and debug Chrome, and Puppeteer supports the experimental WebMCP API.19
Security and controls
- Puppeteer runs outside the browser process, which Google says makes it safe to automate potentially malicious pages.3
- The repository's security page lists no published advisories.8
- Security-relevant fixes arrive in release notes instead: Oct 14's @puppeteer/browsers 3.2.5 blocked path traversal from a build ID and symlink escapes during zip extraction, and 3.2.4 (Oct 8) rejects truncated downloads.7
- Modern package managers block install scripts by default, so
puppeteermay not download its browser until you runnpx puppeteer browsers installor allow the script.1
Strengths
Who it's for
- Good fit: Node.js teams automating Chrome for PDFs, screenshots, scraping or pre-rendering; Chrome extension developers; teams building agent tooling on Chrome; existing Jest or Mocha suites that need a browser.
- Poor fit: teams that want an all-in-one test framework, Safari coverage, or languages other than JavaScript.
Alternatives
| Tool | What it is | Languages | npm, Sep 28–Oct 4 | Paid from |
|---|---|---|---|---|
| Puppeteer | Chrome and Firefox automation library; Apache 2.016 | JS/TS | 14.3M10 | Free only |
| Playwright | Test framework and library for Chromium, Firefox and WebKit; Apache 2.013 | JS/TS, Python, Java, .NET | 131.0M10 | Free |
| Cypress | In-browser test runner, MIT, with a paid Cloud1211 | JS/TS | 7.4M10 | Cloud Team $799 / yr11 |
| Selenium | WebDriver bindings, Grid and IDE; Apache 2.014 | Java, Python, C#, Ruby, JS | 2.2M10 | Free |
npm counts cover only the JavaScript packages (selenium-webdriver for Selenium), so they understate Selenium and Playwright's use in other languages. Cypress Cloud Starter is free with 500 test results a month; Team is billed annually at $799 (shown as $67 a month) for 120,000 results a year.1011 For a test framework that covers browsers, mobile and desktop apps, see our WebdriverIO review.
Puppeteer vs. Playwright
Our Playwright review covers the framework built by the team that first made Puppeteer at Google. It adds WebKit, four languages, a full test runner with traces and reports, and its own MCP and test agents.13 Choose Puppeteer when you only need Chrome or Firefox from Node and want the closest match to Chrome's own protocol.3
Puppeteer vs. Cypress
Our Cypress review covers an in-browser runner for front-end teams with a paid Cloud from $799 a year.11 As that review notes, Cypress handles multi-tab testing through its own @cypress/puppeteer plugin. Puppeteer is lower level and free, but leaves the runner and dashboard to you.
Puppeteer vs. Selenium
Our Selenium review covers the standards-based option. Puppeteer's own FAQ says Selenium goes further, with more languages and Selenium Grid for orchestration at scale, both outside Puppeteer's scope.3
Fresh in the last 60 days
- Sep 3: 25.10.0 added video-stream screen recording with
page.record()and better detection of dead WebSocket connections.7 - Sep 14: 25.11.0 moved to Chrome 153 and Firefox 155.0.1.75
- Sep 23: 25.12.0 moved to Chrome 154 and Firefox 156.0.1, and cleans temporary profiles on exit; @puppeteer/browsers 3.2.3 notes Linux ARM64 support.75
- Oct 8: 25.13.0 added
asFetchRequestandasFetchResponseand page, frame and worker methods on console messages; browser downloads now reject truncated files.7 - Oct 14: 25.14.0 moved to Chrome 155 and Firefox 158.0 and enforces block and allow lists for service-worker requests; @puppeteer/browsers 3.2.5 fixed path-traversal and symlink-escape issues.7
- Oct 20: 25.15.0 added
page.tabInfo(), allow and block lists as an API and a WebSocket handshake timeout.7 - Oct 22: 25.16.0 moved to Chrome 156 and Firefox 158.0.1 and added unmodified POST data through
HTTPRequest.content().75
Conflicts in Puppeteer's own sources
- WebDriver BiDi maturity. The FAQ says Puppeteer has had "production-ready support for WebDriver BiDi" for Chrome and Firefox since v23. The BiDi guide calls the protocol "currently under development" and lists dozens of Puppeteer features that don't work over it, including tracing, coverage, accessibility, network emulation and drag and drop.34
- Browser download on install. The home page's install line says
npm i puppeteer"Downloads compatible Chrome during installation"; the note directly below says modern package managers block the install script by default, in which case no browser is downloaded and runs fail.1
AI software lifecycle fit
- Plan: no direct role.
- Build: chrome-devtools-mcp gives coding agents a real Chrome to inspect pages, read console output and check performance while they write front-end code.9
- Test: drives browsers for end-to-end and extension tests through a runner such as Jest; Puppeteer points to community projects such as jest-puppeteer for this.3
- Ship: renders PDFs, screenshots and pre-rendered pages in build pipelines.2
- Operate: synthetic checks and performance traces against production pages.2
Bottom line
Use Puppeteer when you want free, fast, well-maintained Chrome automation from Node, for PDFs, scraping, rendering or agent tooling. Pin your version, run npx puppeteer browsers install in CI, and stay on CDP unless you need Firefox. If you're starting a new cross-browser test suite, look at Playwright first.
What we couldn't verify
- The FAQ's claim of "almost zero performance overhead" over an automated page.3
- How many of npm's downloads are real users rather than repeated CI installs.10
- When WebDriver BiDi mode will reach parity with CDP; no date is given.4
- Whether the browsers-package fixes in October had any practical exploit; no advisories were published.78
- How chrome-devtools-mcp behaves in each named agent; we didn't test it.9
Sources
- Puppeteer — documentation home (version 25.16.0)
- Puppeteer — What is Puppeteer?
- Puppeteer — FAQ
- Puppeteer — WebDriver BiDi support
- Puppeteer — Supported browsers (version mapping table)
- GitHub — puppeteer/puppeteer (Apache 2.0; about 95,700 stars)
- GitHub — Puppeteer releases (puppeteer, puppeteer-core and @puppeteer/browsers, Aug to Oct 2026)
- GitHub — Puppeteer security advisories
- GitHub — ChromeDevTools/chrome-devtools-mcp (Apache 2.0; about 54,200 stars; README)
- npm — download counts API, week of Sep 28–Oct 4, 2026
- Cypress — Pricing
- GitHub — cypress-io/cypress (MIT; about 51,000 stars; v16.2.0, Oct 14, 2026)
- GitHub — microsoft/playwright (Apache 2.0; about 98,500 stars; v1.64.1, Oct 14, 2026)
- GitHub — SeleniumHQ/selenium (Apache 2.0; about 34,600 stars; 4.51.0, Oct 9, 2026)
- Alphabet: Form 10-Q for the quarter ended Jun 30, 2026 (filed Jul 23, 2026)
- Alphabet Inc., Google LLC and XXVI Holdings: Schedule 13G on SpaceX Class A common stock (Aug 14, 2026)
- SpaceX: Final prospectus (Form 424B4) for its initial public offering (Jun 12, 2026)
- SpaceX: Form 8-K (Aug 14, 2026), Cursor acquisition
