Puppeteer
lastmod 2026-11-10created 2021-11-302 edits
Puppeteer is a Node.js library that controls Chrome or Chromium through the DevTools protocol. By default it launches the browser in headless mode without a screen and performs page navigation, form input, clicks, screenshot and PDF generation, and JavaScript execution in code, and it is widely used for web scraping, E2E testing, and pre-rendering SPAs. It is maintained by the Chrome team and also partially supports Firefox, and Playwright, which handles multiple browsers with the same API, is often compared as an alternative.
Headless Chrome Node.js API