Puppeteer
A strong pick. 2nd of 10 web scraping and HTML parsing.
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
Overall7.9
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.5, likely 6.5 to 8.0
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.
- dev.to/vhub_systems_ed5641f65d59/playwright-vs-puppeteer-for-web-scraping-in-2026-a-practical-comparison-g83: Suggests starting new projects with Playwright
- npm downloads ratio: 2.58, against a median of 4.1
- github releasesLastYear: 119 releases, very active
- olostep.com/blog/puppeteer-vs-playwright: Argues Puppeteer is limited for multi-tab and cross-domain scraping
GPT-6.2 Sol: 8.3, likely 7.2 to 9.2
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.
- pptr.dev/guides/page-interactions: Documents browser interaction and extraction from a live DOM.
- npm versionsLastYear and medianDownloadsRatio: 45 npm versions in a year alongside growth below the catalog median.
- github.com/browserless/browserless/blob/main/CHANGELOG.md: A production browser service ships a recent Puppeteer Core release.
- cheerio.js.org/docs/intro: Cheerio fetches and parses HTML without launching a browser.
- crawlee.dev/js/api/puppeteer-crawler/class/PuppeteerCrawler: Crawlee adds request queues, retries, and resource-aware concurrency.
Needed by many5.2
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.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.
- dependents: 144k dependent repos, against 557k for Cheerio and 1.4M for jsdom
- firecrawl.dev/blog/playwright-vs-puppeteer: Headless browsers used for scraping dynamic pages
GPT-6.2 Sol: 5.4, likely 4.2 to 6.6
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.
- pptr.dev/guides/system-requirements: Documents the Node.js and browser requirements.
- cheerio.js.org/docs/intro: Shows which extraction jobs can use an HTML parser and which need a browser.
Helps a lot8.3
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- blog.apify.com/playwright-vs-puppeteer: Says Playwright is better for scraping; Puppeteer suits Chrome-focused work
- dev.to/agenthustler/playwright-vs-puppeteer-vs-selenium-2026-comparison-for-web-scraping-4i92: Cites Playwright's auto-waiting and browser contexts as advantages
- dev.to/dennis-ddev/profiling-puppeteer-memory-usage-in-nodejs-5a88: Chrome child processes drive the memory use
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 8.5, likely 7.3 to 9.3
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.
- npm latestVersion and hasTypes: Stable 25.18.1 ships TypeScript declarations.
- pptr.dev/guides/page-interactions: Documents automatic waiting and selection with locators.
- pptr.dev/api/puppeteer.page.content: Documents retrieving the page's full rendered HTML.
- pptr.dev/webdriver-bidi: Lists the operations unavailable on Firefox's default protocol.
- skyvern.com/blog/puppeteer-vs-playwright-complete-performance-comparison-2025: Benchmarks both libraries against the same Chrome binary.
- reddit.com/r/webdev/comments/1thhwx5/puppeteer_was_leaking_memory_in_prod_and_i_just: A user reports memory growth in a concurrent production workload.
Holds up over time8.8
Will it still be a good choice in two years?
Claude Opus 5.5: 9.0, likely 8.0 to 9.5
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.
- github commitsLastYear / releasesLastYear: 903 commits and 119 releases in the last year
- github openIssues / closedIssues: 165 issues open, 7,302 closed
- npm latestVersion: Now at v25, so major versions come often
- Chrome DevTools team: Maintained by Google's Chrome team
GPT-6.2 Sol: 8.5, likely 7.4 to 9.4
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.
- github commitsLastYear and npm versionsLastYear: 903 repository commits and 45 npm versions in the past year.
- pptr.dev/faq: Names the Chrome Browser Automation team as maintainer.
- github.com/puppeteer/puppeteer/pull/15746: A reload fix opened November 10 and merged November 17.
- github.com/puppeteer/puppeteer/releases/tag/puppeteer-core-v25.18.1: The November 17 release included the reload fix.
- github.com/puppeteer/puppeteer/releases/tag/puppeteer-v25.0.0: Records the higher Node.js minimum and move to ESM-only builds.
- github.com/vlocityinc/vlocity_build/pull/795: A downstream CLI stayed on v24 to preserve Node.js compatibility.
- github.com/puppeteer/puppeteer/issues/14898: Tracks proposed removals for v26.
Used widely6.9
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- npm downloadsLast4Weeks: 61.9M, up from 24.0M a year before (ratio 2.58, below the 4.1 median)
- dependents repos: 144,056 repos and 16,722 packages
- github stars: 95,876 stars
- qaskills.sh/blog/state-of-js-2025-testing-frameworks-results: Describes Puppeteer's growth as flat next to Playwright's
GPT-6.2 Sol: 6.7, likely 5.6 to 7.8
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.
- dependents and peers dependentRepos: 144,056 indexed repositories versus 557,077 for Cheerio and 1,437,647 for jsdom.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo and medianDownloadsRatio: Download growth of 2.58× trails the 4.1× catalog median.
- github stars, bluesky posts and peers blueskyPosts: 95,876 stars and five Bluesky links, versus 11 for jsdom and 20 for Stagehand.
- github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/package.json: The Chrome DevTools MCP package installs Puppeteer as a dependency.
Vouched for7.8
Who stands behind it being good?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- blog.apify.com/playwright-vs-puppeteer: Apify and Crawlee support Puppeteer but recommend Playwright
- 2025.stateofjs.com/en-US/libraries/testing: Puppeteer is listed in the survey, but no figures are readable
- Lighthouse user flows: Lighthouse builds on puppeteer-core
GPT-6.2 Sol: 8.0, likely 6.9 to 8.9
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.
- github.com/browserless/browserless/blob/main/CHANGELOG.md: November 2026 Browserless releases list Puppeteer Core 25.16.0.
- crawlee.dev/js/api/puppeteer-crawler/class/PuppeteerCrawler: Apify provides a parallel crawler built around Puppeteer.
- github.com/GoogleChrome/lighthouse/blob/main/package.json: Lighthouse declares Puppeteer Core as a runtime dependency.
- 2025.stateofjs.com/en-US/libraries/#libraries_tier_list: The survey reports 70% satisfaction for Puppeteer and 94% for Playwright.
Safe8.2
How safe is it to depend on?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
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.
- advisories: 1 advisory in total, from 2020; 0 in the last 24 months
- scorecard score: 8.2; weak checks: Fuzzing 0, SAST 3, Branch-Protection 4
- npm dependencies: 6 direct dependencies
- npm license: Apache-2.0
GPT-6.2 Sol: 7.9, likely 6.8 to 8.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.
- npm license and dependencies: Apache-2.0 and six direct dependencies.
- advisories total and last24Months: One recorded package advisory and none in the last 24 months.
- osv.dev/vulnerability/GHSA-c2gp-86p4-5935: Identifies 1.13.0 as the fixed release for the Chromium issue.
- scorecard score and checks: 8.2 overall, with review and CI at 10, branch protection at 4, static analysis at 3, and fuzzing at 0.
- github.com/puppeteer/puppeteer/blob/puppeteer-v25.18.1/.github/workflows/publish.yml: The tagged GitHub Actions workflow builds and publishes with npm provenance.
- pptr.dev/troubleshooting: Documents sandbox requirements for Chrome deployments.
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
- npm downloads, 4 weeks
- 62M ×2.6 in a year
- GitHub stars
- 96k
- Commits, 12 months
- 903
- npm version
- 25.18.1 Nov 2026
- Versions, 12 months
- 45
- Advisories, 24 months
- 0 of 1 ever
- OpenSSF Scorecard
- 8.2 out of 10, Nov 2026
- Licence
- Apache-2.0
Read on 21 November 2026 from GitHub (puppeteer/puppeteer), npm (puppeteer), OSV and the OpenSSF Scorecard.
Web scraping and HTML parsing
- 8.1Cheerio
- 7.9Puppeteer
- 7.8Crawlee
- 7.3htmlparser2
- 7.1jsdom
- 6.8Stagehand
- 6.8Readability
- 5.5Happy DOM
- 5.4LinkeDOM
- 5.2Selenium WebDriver