What problem does it solve?
Playwright-based browser automation is often encumbered by boilerplate setup and fragile test scripts. This Skill provides a universal executor, dev-server auto-detection, and ephemeral /tmp script generation to streamline web testing and automation tasks, reducing upfront work and clutter.
Core Features & Use Cases
- Auto-detects running dev servers and suggests test URLs
- Writes custom Playwright scripts to /tmp for clean, ephemeral runs
- Provides robust helpers for reliable interactions, screenshots, waits, and basic QA validations
Quick Start
Install dependencies with npm run setup, then create or run tests using the universal executor:
- Detect dev servers: cd $SKILL_DIR && node -e "require('./lib/helpers').detectDevServers().then(s => console.log(JSON.stringify(s)))"
- Run a script: cd $SKILL_DIR && node run.js /tmp/playwright-test-*.js
- Inline execution: cd $SKILL_DIR && node run.js "const { chromium } = require('playwright'); const browser = await chromium.launch({ headless: false }); ..."