playwright-skill

Installation
SKILL.md

Playwright Browser Automation

Provides primitives for browser automation: dev-server detection, a script runner (scripts/run.js), and helper utilities (scripts/lib/helpers.js).

Critical workflow

  1. Detect dev servers first for localhost testing:

    node -e "require('scripts/lib/helpers').detectDevServers().then(s => console.log(JSON.stringify(s)))"
    

    One server → use it. Multiple → ask which. None → ask for a URL.

  2. Write generated scripts to /tmp/playwright-test-*.js — never into scripts/ or the user's project.

  3. Visible browser by default (headless: false). Headless only when the user asks.

  4. Parameterize the target URL at the top of the script as TARGET_URL.

Installs
5
GitHub Stars
32
First Seen
Apr 14, 2026
playwright-skill — alexei-led/cc-thingz