qmetrics.net

Puppeteer

JavaScript library for automating Chrome and Firefox

Puppeteer screenshot

Puppeteer exposes a high-level JavaScript API to drive Chrome or Firefox through the DevTools Protocol or WebDriver BiDi. It defaults to headless browser control for scripts and tests.

Overview

Developers import Puppeteer into Node-oriented projects to launch browsers, open pages, navigate URLs, interact with elements, and read page content programmatically. The workflow centers on automating real browser behavior rather than mocking HTTP alone.

Install packages through common JavaScript package managers. The full package can download a compatible Chrome build during install, while a core variant lets you supply your own browser. Documentation notes that blocked install scripts may require a separate browsers install command or allowing the package postinstall hook.

API surface covers navigation, viewport sizing, keyboard input, locators, waiting on elements, and evaluation hooks, as shown in starter examples that drive a search flow end to end. Firefox support is called out alongside Chrome in the project description.

Related ecosystem pieces include a Puppeteer-based MCP server for agent-driven browser automation and experimental WebMCP API support mentioned in installation docs. Typical topic tags associate the library with headless Chrome, testing, and general web automation tasks.

Key features

  • Chrome and Firefox automation API
  • DevTools Protocol and WebDriver BiDi
  • Headless operation by default
  • Optional bundled browser download
  • puppeteer-core without bundled browser
  • Page navigation and locator helpers
  • MCP server integration path
  • Multi-package-manager install support

Use cases

  • Automated browser end-to-end tests
  • Scripted page interaction and scraping
  • Generating PDFs or screenshots from pages
  • Debugging flows via programmatic control

Tags

Similar software

jsdom

Node.js implementation of web DOM and HTML standards

jsdom emulates browser DOM and HTML APIs in Node.js for testing and scraping real web apps. The JSDOM constructor parses HTML and exposes a window object with configurable behavior.

★ 21.8k⟳ 2 days agoMIT · open core

chromedp

Go library for Chrome DevTools Protocol browser control

chromedp drives Chrome and compatible browsers from Go via the DevTools Protocol without an external WebDriver. It starts browsers over a pipe by default and supports headless or visible automation.

★ 13.4k⟳ 10 days agoMIT

Playwright Go

Go library for cross-browser Chromium, Firefox, and WebKit automation

Playwright for Go drives Chromium, Firefox, and WebKit through one API for scraping, testing, and browser workflows. Headless and headed modes are supported on Linux, macOS, and Windows.

★ 3.5k⟳ 22 days agoMIT

Panther

PHP browser testing and web scraping library

Symfony Panther drives real Chrome or Firefox browsers via WebDriver for end-to-end tests and website scraping in PHP applications.

★ 3.1k⟳ 1 month agoMIT

Puppeteer Puppeteer

Node.js API for headless Chrome and Firefox automation

Puppeteer is a JavaScript library that automates Chrome and Firefox via Chrome DevTools Protocol and WebDriver BiDi. Use it for UI testing, PDFs, screenshots, and scripted browsing.

★ 2.4k⟳ yesterdayApache-2.0

Browserless

Headless Chrome driver layer on Puppeteer for Node.js

Browserless wraps Puppeteer to drive headless Chrome or Chromium from Node.js. It adds helpers for HTML, text, PDF, and screenshots with retries, ad blocking, and CLI access.

★ 1.8k⟳ yesterdayMIT