What problem does it solve?
This Skill provides a lightweight toolkit for automating end-to-end testing of local web applications using the Playwright library. It helps developers quickly verify frontend behavior, capture visual evidence, and inspect browser logs without building custom test infrastructure.
Core Features & Use Cases
- UI verification: Validate frontend behavior and DOM state across pages.
- Debugging & Observability: Capture screenshots and browser console logs for failed interactions.
- Server orchestration: Manage local dev servers with the provided script (scripts/with_server.py) to run tests against multi-service setups.
- Use Case: Imagine you are developing a local dashboard; you can automate navigation, verify elements, and collect logs and screenshots to speed up debugging.
Quick Start
Run a simple, single-server automation example:
- Start a local server and run your Playwright automation:
- python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_automation.py
For multi-server scenarios, repeat the --server and --port pairings as needed and supply your automation script at the end.