What problem does it solve?
This Skill provides a robust toolkit for interacting with and testing local web applications, streamlining the process of verifying frontend functionality and debugging UI behavior.
Core Features & Use Cases
- Web Application Testing: Execute automated tests against local web applications using Playwright.
- Debugging UI: Capture screenshots and inspect browser logs to identify and resolve UI issues.
- Server Management: Includes a helper script (
scripts/with_server.py) to manage the lifecycle of local development servers, ensuring they are running before tests execute.
- Use Case: Automatically test a new feature deployed on your local development server by navigating through user flows, filling forms, and verifying that elements render correctly, all while capturing console logs for debugging.
Quick Start
Run python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_automation.py to start your web app and then run your Playwright automation script.