devtools

Puppeteer: Automate Browsers

Get browser automation with Puppeteer.
intermediate⏱ 1-2 hoursπŸ’΅ Free
95,478 stars9,570 forksTypeScriptGuide quality 8/10Updated 8/20/2026100% free Β· open source
What it is

Control a browser's actions as code.

Real use case example

"A founder uses Puppeteer to automate browser tests for their e-commerce site, then uses the extracted data to create a report showing top-selling products, which they can share with investors."

When to use it
  • β€’You need to automate user interactions on your web app for testing purposes
  • β€’You want to scrape data from websites that use a lot of JavaScript
  • β€’You need to generate PDFs or screenshots of web pages programmatically
Ready-to-paste prompt
await page.evaluate(() => document.querySelector('title').textContent); // Retrieves the title of the current page
Heads up: Ensure you have the correct version of Node.js installed, as Puppeteer requires at least Node.js 14.17.0
Saves to your device
Use with Claude
New

Skip the builder β€” one click puts this in Claude, Cursor, Antigravity and more.

βœ… Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly β€” no install
Claude Code
mkdir -p ~/.claude/skills/puppeteer && curl -fsSL https://workflowstacks.com/api/skills/puppeteer/claude-skill -o ~/.claude/skills/puppeteer/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go β€” no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Puppeteer: Automate Browsers works
Codeflow
Free to inspect

Puppeteer: Automate Browsers is a large TypeScript project (~49k lines across 315 code files, plus 167 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, Apache-2.0 license, has a test suite.

Size
Large codebase
~49k lines Β· 315 code files Β· ~7 h to skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Node.js Β· Docker
No API keys detected
TypeScript 94%JavaScript 5%HTML 1%
What happens, step by step

Automates browser tasks

You give
Browser commands
1Launch Browser
Starts browser in headless mode
examples/README.md
2Navigate Page
Opens new page and navigates to URL
3Interact Page
Performs actions like clicking and typing
4Close Browser
Closes browser after tasks
You get
Automated results
Where to start reading
  1. 1
    README.md
    Start here β€” what it does and how to install it
  2. 2
    package.json
    Dependencies and the commands it exposes
  3. 3
    examples/README.md
    A worked example β€” copy this to get going
What's in each folder
packages/Sub-packages / plugins347 files
docs/Documentation716 files
examples/Examples you can copy23 files
website/Project website736 files
tools/Helper scripts44 files
test-d/Folder6 files
docker/Deployment / infrastructure4 files
test/Tests β€” proof it works328 files
READMEHas testsDocumentedCI checksDocker readyExamples includedApache-2.0 licenseUpdated this month
Quick Actions
Details
Creator
puppeteer
Language
TypeScript
Category
devtools
Published
5/9/2017

Are you the creator of this tool? Claim your listing β†’ and earn 85% of every sale.