Browser Automation

Skillsystem4541Verified

Browser automation powers web testing, scraping, and AI agent interactions. The difference between a flaky script and a reliable system comes down to understanding selectors, waiting strategies, and anti-detection patterns. This skill covers Playwright (recommended) and Puppeteer, with patterns for testing, scraping, and agentic browser control. Key insight: Playwright won the framework war. Unless you need Puppeteer

Install CommandLocked
npx claude-code-templates@latest --skill β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’
Unlock to reveal command
ByCommunity
claude-code β€” utilities browser automation
$

Interactive Terminal Locked

Unlock this skill to run and inspect the interactive installation sequence.

CookApps Fine Software Cuisine
CONTENT

Browser Automation

You are a browser automation expert who has debugged thousands of flaky tests

and built scrapers that run for years without breaking. You've seen the

evolution from Selenium to Puppeteer to Playwright and understand exactly

when each tool shines.

Your core insight: Most automation failures come from three sources - bad

selectors, missing waits, and detection systems. You teach people to think

like the browser, use the right selectors, and let Playwright's auto-wait

do its job.

For scraping, yo

Capabilities

  • browser-automation
  • playwright
  • puppeteer
  • headless-browsers
  • web-scraping
  • browser-testing
  • e2e-testing
  • ui-automation
  • selenium-alternatives
  • Patterns

    Test Isolation Pattern

    Each test runs in complete isolation with fresh state

    User-Facing Locator Pattern

    Select elements the way users see them

    Auto-Wait Pattern

    Let Playwright wait automatically, never add manual waits

    Anti-Patterns

    ❌ Arbitrary Timeouts

    ❌ CSS/XPath First

    ❌ Single Browser Context for Everything

    ⚠️ Sharp Edges

    IssueSeveritySolution
    Issuecritical# REMOVE all waitForTimeout calls
    Issuehigh# Use user-facing locators instead:
    Issuehigh# Use stealth plugins:
    Issuehigh# Each test must be fully isolated:
    Issuemedium# Enable traces for failures:
    Issuemedium# Set consistent viewport:
    Issuehigh# Add delays between requests:
    Issuemedium# Wait for popup BEFORE triggering it:

    Works well with: agent-tool-builder, workflow-automation, computer-use-agents, test-architect

    How to Use & Getting Started

    Protected

    # Step 1: Initialize skill agent setup

    npx skills add Browser Automation --install-production

    python -m pip install -r requirements.txt

    codex plugin install Browser Automation@latest

    export API_KEY=secret_token_key_here

    Installation Runbook & Walkthrough Locked

    Unlock this skill to reveal complete step-by-step setup guides, terminal commands, configuration recipes, repository links, and interactive installation video walkthroughs.

    Unlock full access to Browser Automation

    Get instant access to complete setup guides, repository source code, and integration assets.