---
name: puppeteer-browser-automation-library-for-chrome-and-f6be517867fa
slug: "puppeteer-browser-automation-library-for-chrome-and-firefox"
description: "Uses Puppeteer to control Chrome and Firefox through the DevTools Protocol or WebDriver BiDi for screenshots, PDF generation, scraping, and browser workflow automation. Best when you want a well-known JavaScript automation library with straightforward installation and deep control over browser pages."
github_stars: 94016
verification: "security_reviewed"
source: "https://github.com/puppeteer/puppeteer"
author: "Puppeteer"
publisher_type: "open_source_collective"
category: "Browser Automation"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "puppeteer/puppeteer"
  github_stars: 94016
  npm_package: "puppeteer"
  npm_weekly_downloads: 40191842
---

# Puppeteer Browser Automation Library for Chrome and Firefox

Uses Puppeteer to control Chrome and Firefox through the DevTools Protocol or WebDriver BiDi for screenshots, PDF generation, scraping, and browser workflow automation. Best when you want a well-known JavaScript automation library with straightforward installation and deep control over browser pages.

## Prerequisites

Node.js and Chrome for Testing (downloaded automatically by puppeteer)

## Installation

Use the upstream install or setup path that matches your environment:
- npm i puppeteer # Downloads compatible Chrome during installation.
- npm i puppeteer-core # Alternatively, install as a library, without downloading Chrome.

Basic usage or getting-started notes:
- bash npm2yarn
- ## MCP
- a Puppeteer-based MCP server for browser automation and debugging.

- Source: https://github.com/puppeteer/puppeteer
- Extracted from upstream docs: https://raw.githubusercontent.com/puppeteer/puppeteer/HEAD/README.md

## Documentation

- https://pptr.dev/guides/installation

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/puppeteer-browser-automation-library-for-chrome-and-firefox/)


---
Source attribution: agentskillexchange
Original project: https://github.com/agentskillexchange/skills/blob/7964af467fccaf7d68a4b705bb2e26081fbdd3e8/skills/puppeteer-browser-automation-library-for-chrome-and-firefox/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Agent Skill Exchange

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: agentskillexchange
Original project: https://github.com/agentskillexchange/skills/blob/7964af467fccaf7d68a4b705bb2e26081fbdd3e8/skills/puppeteer-browser-automation-library-for-chrome-and-firefox/SKILL.md
Attribution basis: Source repository record

Fields of work: Development & Engineering
Roles: Backend Developer, Data Engineer, DevOps / SRE, Frontend Developer, QA / Test Engineer
Specialties: API, Backend, Cross Platform, Testing
Tools: Puppeteer
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 721139dba523c4726019e003a59566e289a2a4a25e72a82874e21e6433979d6e
