What problem does it solve? Testing local web applications manually is slow and error-prone, especially when verifying frontend behavior, debugging UI issues, or capturing browser state across dynamic JavaScript-rendered pages. ## Core Features & Use Cases - Server Lifecycle Management: The scripts/with_server.py helper starts one or more servers (frontend and backend), waits for readiness, runs your automation, and cleans up automatically. - Reconnaissance-Then-Action Pattern: Inspect the rendered DOM after networkidle, identify stable selectors, then execute clicks, form fills, and assertions with Playwright. - Debugging & Reporting: Capture console logs, take full-page screenshots, and analyze network errors for failed tests. - Use Case: You have a React frontend on port 5173 and a Python backend on port 3000. Use the helper to launch both servers, then run a Playwright script that logs in, navigates the dashboard, and verifies page content headlessly. ## Quick Start Ask the agent to test your local web app by starting the dev server with the with_server.py helper and writing a Playwright script that navigates to the page, waits for networkidle, and verifies the expected elements.