[Home](/index.md) › [Tools](/tools.md) › Puppeteer

# Puppeteer

Headless browser automation

Website: [https://pptr.dev](https://parible.co/go/puppeteer?link=website&from=markdown)

![Puppeteer homepage](https://ohtvsdyfknahbwffwdqi.supabase.co/storage/v1/object/public/tool-screenshots/a9abab7b-b7f4-4766-b4c4-f3ca910fa151/1794933295958-1800.webp)

## Overview

Puppeteer is a JavaScript library that provides a high-level API to control Chrome or Firefox. It operates over the Chrome DevTools Protocol or WebDriver BiDi and runs in headless mode without a visible user interface by default. Developers use it to script browser actions, including navigating to URLs, filling form inputs, evaluating DOM elements and simulating keyboard or mouse interactions.

Installation works across package managers such as npm, Yarn, pnpm and Bun, with options to download a compatible browser automatically or configure an existing binary. For automated [browser testing](/categories/monitoring-testing.md) and debugging, Puppeteer connects directly to browser internals and supports automated workflows through tools like the Chrome DevTools MCP server alongside experimental WebMCP support.

### Categories

- [End-to-End Testing](/categories/monitoring-testing/end-to-end-testing.md)

## Features

- Auto-waiting
- Network throttling
- Custom viewport testing
- Keyboard and mouse simulation
- Network mocking
- Automatic driver management

[View all features](/tools/puppeteer/features.md)

## Use Puppeteer with AI agents

### Local MCP

Puppeteer has an MCP server available to run locally. Use chrome-devtools-mcp to give your agent access.

[Read the MCP docs](https://pptr.dev)

### CLI

Puppeteer has CLI tools available so your agent can run commands in the terminal. Install the CLI using the command below.

[Read the CLI docs](https://pptr.dev/browsers-api)

## Alternatives to Puppeteer

- [Selenium](/tools/selenium.md): Open-source browser automation
- [TestCafe](/tools/testcafe.md): End-to-end testing framework
- [WebdriverIO](/tools/webdriverio.md): Open-source test automation
- [Playwright](/tools/playwright.md): Cross-browser E2E testing
- [Ghost Inspector](/tools/ghost-inspector.md): No-code browser testing
- [testRigor](/tools/testrigor.md): Agentic test automation

[View all alternatives](/tools/puppeteer/alternatives.md)

## Frequently asked questions

### Does Puppeteer have an MCP server?

Yes, Puppeteer has a local MCP server, so AI agents can work with it directly. See the [AI agents section](#ai-agents) for how to connect it.

### Does Puppeteer have AI features?

We haven’t confirmed any AI features for Puppeteer yet.

### What are the alternatives to Puppeteer?

Popular alternatives to Puppeteer include [Selenium](/tools/selenium.md), [TestCafe](/tools/testcafe.md), [WebdriverIO](/tools/webdriverio.md), [Playwright](/tools/playwright.md), [Ghost Inspector](/tools/ghost-inspector.md), and [testRigor](/tools/testrigor.md). To find more alternatives to Puppeteer, view our [full list of alternatives](/tools/puppeteer/alternatives.md).
