# 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.

- Skill: `agentskillexchange/puppeteer-browser-automation-library-for-chrome-and-firefox` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/puppeteer-browser-automation-library-for-chrome-and-firefox`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/puppeteer-browser-automation-library-for-chrome-and-firefox/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/puppeteer-browser-automation-library-for-chrome-and-firefox

---


# 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/)

