Puppeteer

Node.js library from the Chrome team for controlling Chrome and Firefox via DevTools Protocol / WebDriver BiDi.

Puppeteer provides a high-level API to drive headless or headed Chrome (and Firefox) for automation, screenshots, PDF generation, scraping and testing. It is maintained by Google's Chrome team and is often used for rendering and automation tasks rather than full test suites.

Type
Testing
Category
Testing
Maintainer
Google Chrome team
First released
2017
License
Open source (Apache-2.0)
Pricing
Open source
Level
Intermediate
Technologies
javascript, nodejs, browser-automation
GitHub stars
95,942
Weekly downloads
16,395,997 (npm)
Latest release
[object Object]
Last verified
26 Nov 2026

What Puppeteer is used for

  • Generating PDFs/screenshots
  • Scraping
  • Automation scripts

Strengths

  • Close to Chrome internals
  • Simple API

Limitations

  • JavaScript only
  • Less test-runner tooling than Playwright

Puppeteer alternatives

How it relates to other tools

Built with the same technologies

Learn Puppeteer

Official links

Sources

Explore