What problem does it solve?
This Skill provides a robust toolkit for testing local web applications, enabling developers to verify frontend functionality, debug UI behavior, and capture essential visual and log data.
Core Features & Use Cases
- Local Server Management: Effortlessly start and manage local development servers using
scripts/with_server.py.
- Browser Automation: Write native Python Playwright scripts to interact with web pages.
- Debugging & Verification: Capture screenshots, inspect the DOM, and monitor console logs for effective debugging.
- Use Case: Test a new feature in your local React application by writing a Playwright script that navigates to the page, fills out a form, clicks a button, and asserts that the expected content is displayed.
Quick Start
Use the webapp-testing skill to test your local web application by running python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_automation.py.