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 Python Playwright scripts to test web application functionality.
- Server Management: Includes a helper script (
scripts/with_server.py) to manage the lifecycle of local development servers.
- Debugging Tools: Supports capturing screenshots and browser console logs for in-depth analysis.
- Use Case: Automatically 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 ensuring the development server is running.
Quick Start
Use the webapp-testing skill to run a Playwright script named 'my_test.py' against a web application served on port 5173, starting the server with 'npm run dev'.