Puppeteer for Openclaw

A powerful browser automation skill for controlling Chrome and Chromium to perform web scraping, end-to-end testing, and automated workflows.

ivangdavila
v1.0.0
Feb 22, 2026
1
3.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install puppeteer

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install puppeteer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Puppeteer?

Puppeteer is a robust Openclaw Skills integration designed to automate Chrome and Chromium through a high-level API. It empowers developers and AI agents to programmatically interact with web pages, navigate complex DOM structures, and extract data with precision. Whether you are generating PDFs, capturing screenshots, or conducting automated UI testing, this skill provides a controlled environment to handle headless browser tasks efficiently while maintaining a clean local architecture.

Puppeteer Use Cases

  • Web scraping and data extraction from dynamic, JavaScript-heavy websites.
  • Automated end-to-end (E2E) testing for web applications to ensure UI stability.
  • Generating high-quality PDFs and full-page screenshots of web assets.
  • Automating repetitive browser-based workflows and complex form submissions.
  • Handling headless Chrome tasks including performance monitoring and SEO auditing.

How Puppeteer Works

  1. Initialize the environment by verifying Node.js and the required Openclaw Skills dependencies.
  2. Create or invoke automation scripts located within the local scripts directory.
  3. Launch a headless or headful Chrome instance with a realistic viewport for consistent rendering.
  4. Execute navigation and interaction logic, utilizing explicit waiting patterns to ensure element stability.
  5. Extract required data or generate media files, storing all results in the local output directory.
  6. Safely close the browser instance via a try/finally block to release system resources.

Puppeteer Setup

To get started, install the skill via your terminal. Ensure that Node.js is installed on your system as it is a core requirement for this Openclaw Skills module.

# Install the Puppeteer skill
clawhub install puppeteer

# Verify your Node.js installation
node --version

After installation, refer to the setup.md file within the skill directory for specific integration guidelines.

Puppeteer Data Schema & Taxonomy

The skill organizes its operations within the ~/puppeteer/ directory to ensure data isolation and clear taxonomy.

Path Description
memory.md Stores execution status, user preferences, and persistent state.
scripts/ A dedicated folder for reusable JavaScript automation scripts.
output/ The primary storage for generated screenshots, PDFs, and scraped data.
selectors.md A reference guide for utilizing stable CSS and data-testid selectors.

Puppeteer Advanced Features

  • Session persistence through userDataDir to maintain cookies and authenticated states.
  • Shadow DOM piercing capabilities using page.evaluateHandle() for complex web components.
  • Intelligent navigation handling with Promise.all to synchronize clicks and page loads.
  • Human-like interaction modeling with randomized delays to respect rate limits.
  • Automated dialog management to prevent scripts from freezing on unexpected alerts or popups.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*