Ir para o conteúdo 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
Preços
No
Self-Hostable

Recursos

  • 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

Prós

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

Contras

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