Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Browser Automation (Playwright)

Helps Claude design production-grade Playwright scripts for scraping, form filling, screenshots and authenticated workflows.

AutomationIntermediate24,1513,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

  1. "Scrape these 50 pages of search results into CSV" → generates a paginated scraper with next-button checks, dedup and incremental writes
  2. "Log into our portal and download the weekly report" → session state reuse plus expect_download() file saving
  3. "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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal.
  2. Clone the skills repository:
    git clone https://github.com/alirezarezvani/claude-skills.git
    
  3. Create the Claude skills directory:
    mkdir -p ~/.claude/skills
    
  4. Copy only this skill:
    cp -r claude-skills/.gemini/skills/browser-automation ~/.claude/skills/
    
  5. Install Playwright (Python flavour):
    pip install playwright && playwright install chromium
    
  6. 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.