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 applications.
- Server Management: Includes a helper script (
scripts/with_server.py) to manage the lifecycle of local development servers.
- Debugging Tools: Supports capturing browser screenshots and viewing console logs for in-depth analysis.
- Use Case: Automatically test a new feature in your local React development server by writing a Playwright script that navigates to the page, interacts with new UI elements, and asserts that the expected changes occur.
Quick Start
Run python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_automation.py to start your local server and run your Playwright automation script.