Skip to main content
Puppeteer logo

Puppeteer

JavaScript API for Chrome and Firefox

Puppeteer is a JavaScript library providing a high-level API to control Chrome and Firefox over DevTools Protocol or WebDriver BiDi. It runs headless by default for automation, testing, screenshots, PDFs, and web scraping.

89.0k
GitHub Stars
free
Pricing
No
Self-Hostable

Features

  • Headless Chrome/Firefox control
  • DevTools Protocol integration
  • Screenshot and PDF generation
  • Form automation
  • Page navigation and interaction
  • Network interception
  • Performance analysis
  • Accessibility testing
  • WebDriver BiDi support
  • Downloads Chrome automatically

Pros

  • + Official Google library
  • + Excellent Chrome integration
  • + Fast headless execution
  • + Rich automation capabilities
  • + Active development

Cons

  • Node.js only
  • Chrome/Firefox focused
  • Less e2e testing features than Playwright
  • Browser downloads can be large