Skip to content
Puppeteer logo

Puppeteer

JavaScript library for controlling Chrome and Firefox from code.

Reviewed by Last updated

Overview

Puppeteer is an open-source (Apache-2.0) JavaScript library for controlling Chrome and Firefox. It drives browsers over the Chrome DevTools Protocol or WebDriver BiDi. Developers use it to automate pages, take screenshots, scrape data and run tests. Browsers run headless by default.

Google maintains the project on GitHub, and it installs from npm. The main package downloads a compatible Chrome for Testing build. A separate core package leaves browser management to the user. Google's Chrome DevTools MCP server builds on Puppeteer to give AI agents browser control. Many hosted browser services accept Puppeteer connections for remote browsers.

Pros and cons

Pros

  • Pro: Installs a matching Chrome for Testing
  • Pro: Supports CDP and WebDriver BiDi
  • Pro: Drives stable Firefox as well as Chrome
  • Pro: puppeteer-core skips the browser download
  • Pro: Each release lists the exact Chrome and Firefox versions it supports

Cons

  • Con: JavaScript and TypeScript only
  • Con: No WebKit or Safari support
  • Con: No built-in test runner or assertions
  • Con: No built-in proxy rotation or anti-bot handling for scraping

Pricing

Pricing model

Free

Starts at

Free

Free tier

Available

Free and open source. Prices are in USD and can change; check the provider for current details.

Frequently asked questions

Is Puppeteer free?

Yes. Puppeteer is open source under the Apache-2.0 license, and there is no paid version. As of November 2026 the GitHub repository has about 95,900 stars and 9,600 forks.

Which browsers does Puppeteer support?

Chrome and Firefox. Since v20.0.0 Puppeteer uses Chrome for Testing, and since v23.0.0 it supports stable Firefox releases. As of November 2026 the latest listed version, v25.19.0, pairs with Chrome for Testing 158.0.8127.88 and Firefox 161.0. The old headless mode is available as chrome-headless-shell via headless: 'shell'.

What is the difference between puppeteer and puppeteer-core?

puppeteer downloads a compatible Chrome during installation. puppeteer-core is the library alone and does not download a browser. If a package manager blocks install scripts, npx puppeteer browsers install fetches the browser manually.

Can AI agents use Puppeteer?

Yes, through chrome-devtools-mcp. It is a Puppeteer-based MCP server for browser automation and debugging, published under the ChromeDevTools GitHub organization. Puppeteer also has experimental support for the WebMCP API.

Sofia Lindqvist

Sofia Lindqvist

Market Research Expert

View profile

Sofia studies software markets: who the vendors are, how they package their plans and how their offers compare in the fine print. She tests providers side by side and works out what each plan really costs.

Tools that appear in the same lists and categories.

Building something worth listing?

Submit your product for editorial review.