Aller au contenu principal
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
Tarification
No
Self-Hostable

Fonctionnalités

  • 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

Avantages

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

Inconvénients

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