What problem does it solve?
This Skill provides a robust toolkit for testing local web applications, streamlining the process of verifying frontend functionality, debugging UI behavior, and capturing essential visual and log data.
Core Features & Use Cases
- Automated Testing: Write and execute Python scripts using Playwright to test web application UIs.
- Server Management: Includes a helper script (
scripts/with_server.py) to manage the lifecycle of local development servers, ensuring they are running before tests begin.
- Debugging & Inspection: Facilitates capturing screenshots and console logs for in-depth analysis of application behavior.
- Use Case: Test a new feature in your local web application by writing a Playwright script that navigates to the page, interacts with the new UI elements, and asserts that the expected changes occur, all while ensuring the development server is running.
Quick Start
Run the example script examples/element_discovery.py to discover elements on your local web application.