# Puppeteer: 7.9 out of 10

A strong pick. 2nd of 10 in [Web scraping and HTML parsing](https://elestia.ai/opensource/scraping/index.md).

Puppeteer is the Chrome team's Node.js library for driving a real Chrome or Firefox browser. It loads JavaScript-heavy pages, then reads their HTML, takes screenshots or makes PDFs. It is well maintained and a strong pick for browser-based scraping in Node, but many outside comparisons now name Playwright as the default for new scraping and automation work.

**Best for:** Node.js teams who need a real, mostly Chrome-based browser to render dynamic pages, scrape them, or produce screenshots and PDFs.

## Scores

- **Overall: 7.9** (likely 6.9 to 8.6)
  - Claude Opus 5.5 (7.5): Puppeteer is a strong, well-funded and safe choice when you need a real browser for scraping in Node. It is clearly the right tool when the HTML parsers in this category cannot run a page's JavaScript. It falls short of a default because many independent comparisons now favour Playwright for new scraping work, and its downloads grow slower than the median. For static HTML, Cheerio or htmlparser2 is the lighter choice.
  - GPT-6.2 Sol (8.3): Puppeteer is a strong choice for new Node.js projects that need to extract data from pages after JavaScript runs. Its typed browser API, frequent releases, and use in production tooling outweigh its slower relative growth. Cheerio is a better fit when the HTML already contains the data, and Crawlee is a better starting point when queues, retries, and concurrency are central. The best choice depends on how much browser rendering and crawl management the project needs.
- **Needed by many: 5.2** (likely 4.1 to 6.3)
  - Claude Opus 5.5 (5.0): Many developers at some point need to render a dynamic page, scrape it, or make a screenshot or PDF. Still, most HTML reading can be done with a lighter parser. Puppeteer fits the large group of people whose pages need a full browser. It only targets Node, and mostly Chrome.
  - GPT-6.2 Sol (5.4): A real browser is useful for scraping pages that load content or require interaction after navigation. Static HTML is simpler to fetch and parse with Cheerio, while Puppeteer requires Node.js and a supported browser. The share of JavaScript projects that actually need browser rendering is hard to estimate.
- **Helps a lot: 8.3** (likely 7.2 to 9.2)
  - Claude Opus 5.5 (8.0): It controls a real browser through a mature, well-typed API that does requests, interception, screenshots and PDFs. Coding agents know it well, so they write correct code for it. Outside comparisons say Playwright does better on auto-waiting, context isolation and support for more browsers. Puppeteer also needs a lot of resources when run at scale.
  - GPT-6.2 Sol (8.5): Version 25.18.1 offers typed APIs, documented locators that wait automatically, and access to the rendered HTML. A recent same-browser benchmark found Puppeteer and Playwright effectively tied when reusing a page, with Puppeteer slower when starting a browser or creating an isolated session. A production user reported memory pressure under concurrency, and Firefox lacks some Chrome APIs. That workload variation and limited evidence on agent-written code keep the range wide.
- **Holds up over time: 8.8** (likely 7.7 to 9.5)
  - Claude Opus 5.5 (9.0): Google's Chrome team maintains it and pays for the work. It had 903 commits, 119 releases and a push the day before this was read. Of 7,302 closed issues, only 165 are open, and 620 people have contributed. The main risk is that the ecosystem is moving towards Playwright. Frequent major versions also make upgrades a regular chore.
  - GPT-6.2 Sol (8.5): Google's Chrome Browser Automation team maintains Puppeteer, and the past year brought 903 commits and 45 npm releases. A recent Firefox reload fix moved from pull request to release in a week. Version 25 raised the Node.js minimum and moved to ESM-only builds, prompting one downstream project to stay on v24. Proposed API removals for v26 add some uncertainty about upgrade costs.
- **Used widely: 6.9** (likely 5.8 to 7.9)
  - Claude Opus 5.5 (7.0): It had 62M downloads in 4 weeks, 144k dependent repos and 96k stars, so use is large. Many installs come through other tools, such as PDF and diagram generators. Downloads grew 2.6 times in a year, below the median of 4.1, so it is losing share. Of the tools in the bundle that drive a full browser, it is still the most widely used.
  - GPT-6.2 Sol (6.7): The dependency index found 144,056 repositories and 16,722 npm packages, below Cheerio and jsdom on indexed repositories. Four-week downloads rose from 24.0 million to 61.9 million, but the 2.58× ratio trails the 4.1× catalog median, so Puppeteer is losing ground by that measure. Its 95,876 stars show broad recognition, while five Bluesky links indicate modest recent attention. CI installs, downstream tooling, and uses outside scraping make new direct choices hard to count.
- **Vouched for: 7.8** (likely 6.7 to 8.7)
  - Claude Opus 5.5 (7.5): Google backs it, and the Chrome team uses it in its own tools, such as Lighthouse through puppeteer-core. Crawlee and many scraping and PDF services build on it, and independent comparisons treat it as a reference tool. Those same comparisons, and the survey trend, favour Playwright. I found no current satisfaction figure for Puppeteer.
  - GPT-6.2 Sol (8.0): Browserless ships Puppeteer Core in its browser service, and Apify's Crawlee builds a dedicated crawler around Puppeteer. Google's Lighthouse also depends on Puppeteer Core. The 2025 State of JavaScript survey found 70% satisfaction for Puppeteer versus 94% for Playwright, and its testing focus leaves uncertainty about satisfaction among scraping teams.
- **Safe: 8.2** (likely 7.2 to 9.0)
  - Claude Opus 5.5 (8.5): It has one old moderate advisory from 2020 and none in the last 24 months. Its OpenSSF Scorecard is 8.2, with code review, CI and token permissions all strong. Fuzzing, SAST and branch protection score low. It has 6 direct dependencies, but it downloads a whole browser binary at install time, which widens the attack surface. The licence is Apache-2.0.
  - GPT-6.2 Sol (7.9): Puppeteer has a permissive Apache-2.0 licence and six direct npm dependencies. The sole recorded advisory involved an older Chromium build, was fixed in Puppeteer 1.13.0, and predates the last two years. Its GitHub Actions workflow publishes with npm provenance, and its 8.2 OpenSSF Scorecard shows strong review and CI alongside weak branch protection and static analysis. Browser patching and sandbox setup still matter, and the workflow leaves the number of people with release access unclear.

## Good

- Built by Google's Chrome team, so new Chrome features and the DevTools Protocol are supported first.
- It renders pages that need JavaScript to run, which HTML parsers such as Cheerio and htmlparser2 cannot do.
- Very active: 119 releases and over 900 commits last year, with bundled TypeScript types and good docs at pptr.dev.
- Firefox support through WebDriver BiDi, a small direct dependency list, and a clean security record.

## Bad

- Much heavier than an HTML parser: it downloads a browser and uses a lot of memory, and long-running scrapers often leave stray Chrome processes.
- Many 2026 comparisons recommend Playwright over it for scraping, citing auto-waiting, browser contexts and more languages.
- It only works with JavaScript and TypeScript, and its support for Firefox is newer than its support for Chrome. It does not support WebKit.
- Its downloads grew a lot less than the median for the catalog's projects, so its share of new projects is falling.

## The numbers

- Downloads, 4 weeks: 62M
- In a year: ×2.6
- GitHub stars: 96k
- Commits, 12 months: 903
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: Apache-2.0
- GitHub: https://github.com/puppeteer/puppeteer
- npm: https://www.npmjs.com/package/puppeteer

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
