Browser Automation (Playwright)
Helps Claude design production-grade Playwright scripts for scraping, form filling, screenshots and authenticated workflows.
AutomationIntermediate★ 24,151⑂ 3,405AI score 8/10Last updated: Aug 9, 2026
What it does
Gives Claude a full playbook for building Playwright-based web automation.
- Selector reliability ranking (data attributes → id → semantic tags → classes → positional)
- Pagination handlers: next button,
?page=N, infinite scroll, load-more - Multi-step form filling, file uploads, native and custom dropdowns
- Full-page / element screenshots and Chromium PDF output
- Structured extraction of tables, listings and nested threads into JSON / CSV / JSONL
- Session reuse via
context.storage_state() - Retry with exponential backoff, fallback selectors, 429 / Retry-After handling
- Explicit anti-patterns: hardcoded waits, credentials in code, ignoring robots.txt
Who it's for
- Developers and analysts building repeatable web data pipelines
- Anyone automating "log into portal, fill form, download report" chores
- Teams migrating from Selenium or Puppeteer to Playwright
- People stuck extracting data from JS-heavy SPAs
Examples
- "Scrape these 50 pages of search results into CSV" → generates a paginated scraper with next-button checks, dedup and incremental writes
- "Log into our portal and download the weekly report" → session state reuse plus
expect_download()file saving - "Capture just the dashboard chart and export a PDF" → locator-scoped screenshot combined with Chromium PDF options
Note: always review the target site's terms of service and robots.txt before scraping.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .gemini/skills/browser-automation folder from the GitHub repo alirezarezvani/claude-skills into my ~/.claude/skills/browser-automation/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/alirezarezvani/claude-skills.git && mkdir -p ~/.claude/skills && cp -r claude-skills/.gemini/skills/browser-automation ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the skills repository:
git clone https://github.com/alirezarezvani/claude-skills.git - Create the Claude skills directory:
mkdir -p ~/.claude/skills - Copy only this skill:
cp -r claude-skills/.gemini/skills/browser-automation ~/.claude/skills/ - Install Playwright (Python flavour):
pip install playwright && playwright install chromium - Restart Claude Code, then ask something like "Write a Playwright script to scrape the product listings on this page" and the skill will trigger automatically.
View source on GitHub ↗License: MIT