What problem does it solve?
This Skill provides a Playwright-based toolkit to automate testing of local web applications, validating UI behavior, capturing screenshots, and inspecting logs to speed up QA and development feedback.
Core Features & Use Cases
- Playwright-driven automation to test frontend behavior on local servers.
- Helper scripts for starting and orchestrating one or more local servers (scripts/with_server.py).
- Guidance and reference examples (examples/ directory) to demonstrate common patterns like console logging, element discovery, and static HTML automation.
- Easy integration with existing test suites and quick-start commands for end-to-end validation.
Quick Start
Start a single server and run your automation:
python scripts/with_server.py --server "npm run dev" --port 5173 -- python automation.py
For multiple servers:
python scripts/with_server.py
--server "cd backend && python server.py" --port 3000
--server "cd frontend && npm run dev" --port 5173
-- python automation.py
Then write a simple Playwright script that navigates to the local app, waits for network idle, and performs actions.