What problem does it solve?
This Skill automates browser-based testing and UI validation by driving Playwright to interact with web pages, detect dev servers, generate temporary test scripts, and execute them with a visible browser for easier debugging.
Core Features & Use Cases
- Auto-detect running dev servers and route tests to the appropriate URL.
- Write deterministic Playwright test scripts to /tmp (avoiding project clutter).
- Execute tests via the universal run.js wrapper, with optional inline code or script files.
- Supports Chromium, Firefox, and WebKit for cross-browser validation.
- Take screenshots, validate layout/responsiveness, test login flows, and verify links.
- Useful for QA engineers, developers, and automation engineers validating web apps.
Quick Start
Install and set up the skill, then run quick tests:
- Install: cd $SKILL_DIR && npm install && npm run setup
- Run inline test: cd $SKILL_DIR && node run.js '/* Playwright code goes here */'
- Run a prepared script from /tmp: cd $SKILL_DIR && node run.js /tmp/my-playwright-test.js