Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

puppeteer

> 测试质量
Open source

JavaScript API for Chrome and Firefox

95.4K stars0 likes10 views
WebsiteGitHub

About

JavaScript API for Chrome and Firefox

Puppeteer

Puppeteer is a JavaScript library which provides a high-level API to control Chrome or Firefox over the DevTools Protocol or WebDriver BiDi. Puppeteer runs in the headless (no visible UI) by default

Get started | API | FAQ | Contributing | Troubleshooting

Installation

bash
npm i puppeteer # Downloads compatible Chrome during installation.
npm i puppeteer-core # Alternatively, install as a library, without downloading Chrome.

:::note

Modern package managers (including npm (see the RFC), pnpm, Yarn, Bun, and Deno) block dependency install scripts by default. If the install script is blocked, Puppeteer will not download the browser during installation, leading to runtime errors.

You can manually download the required browsers after installation by running:

bash
npx puppeteer browsers install

Alternatively, you can configure your package manager to allow the install script to run (for example, with npm, by adding "puppeteer" to "allowScripts" in your package.json).

:::

MCP

Install chrome-devtools-mcp, a Puppeteer-based MCP server for browser automation and debugging.

Puppeteer also supports the experimental WebMCP API.

Example

…

Issues· 277 open

View all issuesOpen on GitHub
  • #15509

    [Bug]: request interception leaves dedicated-worker fetches paused forever since 24.7.0 (continueRequest sent to the worker session)

    Updated Sep 28, 2026
  • #12379

    Chrome Canary/Firefox Nightly test results

    Updated Sep 28, 2026
  • #15500

    [Bug]: WebWorker.evaluate() and close() never settle when the worker script fails to load

    Updated Sep 26, 2026
  • #15497

    [Bug]: Intercepted requests from dedicated workers are never fulfilled/continued/aborted

    Updated Sep 26, 2026
  • #5096

    page.emulateMediaFeatures([{ name: 'hover', value: 'hover' }]) throws error

    upstreamgood first issueconfirmedP3featureUpdated Sep 26, 2026
  • #15487

    [Bug]: @puppeteer/browsers: Abruptly truncated downloads exit with code 0 instead of failing

    confirmed@puppeteer/browsersUpdated Sep 24, 2026
  • #15486

    [Bug]: page.goto() ignores its own timeout and never settles after a second navigation request

    confirmedP2Updated Sep 24, 2026
  • #14760

    [Bug]: Protocol timeout when screenshotting in pretty weird case (Docker + multiple tabs + networkidle2)

    confirmedP2Updated Sep 23, 2026
  • #8261

    Ability to exit a script while keeping browser running

    good first issueconfirmedP3featureUpdated Sep 16, 2026
  • #15418

    [Feature]: Add an option to clear old browser versions only

    confirmedP3Updated Sep 4, 2026

> Tags

TypeScriptautomationchromechromiumdeveloper-tools

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category测试质量
PricingOpen source

> Related tools

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.