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: Write and execute native Python Playwright scripts to test local web applications.
- Server Management: Automatically manage the lifecycle of local development servers using the
with_server.py helper script.
- Debugging Tools: Capture browser screenshots and view browser logs for in-depth analysis.
- Use Case: Test a new feature in your local React development server by writing a Playwright script that navigates to a specific page, fills out a form, and asserts that the correct data is displayed.
Quick Start
Run python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_automation.py to start your development server and run your Playwright script.