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
- Automated Testing: Write and execute Playwright scripts to test web application features.
- Debugging Support: Capture screenshots and browser logs for detailed analysis.
- Server Management: Includes a helper script to manage the lifecycle of local development servers.
- Use Case: Test a new feature in your local web app by writing a Playwright script that navigates to the page, interacts with the new UI elements, and asserts that the expected outcome occurs, 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 a server and run your automation script.