A testing toolkit for interacting with and verifying local web applications using native Python Playwright scripts. It provides helper scripts to manage server lifecycles and supports debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Tasks
Write a Python Playwright script to verify that the frontend of a local application loads correctly and that key UI elements are present
Launch a backend and frontend server pair using with_server.py and run an end-to-end automation script against the running application
Take a full-page screenshot of a rendered web page to debug unexpected UI behavior after waiting for networkidle
Capture browser console logs during a Playwright automation session to diagnose JavaScript errors
Inputs
Local web application URLs
Server startup commands
Server port numbers
Python Playwright automation scripts
Outputs
Playwright script execution results
Browser screenshots
Browser console logs
Server lifecycle management
Limitations and checks
Designed for testing local web applications only
Always requires launching Chromium in headless mode
Bundled scripts should be treated as black boxes and not read into the context window unless customization is absolutely necessary
Confirm Playwright and Python are available in the environment before writing automation scripts
Verify the application has reached networkidle state before inspecting the DOM or taking screenshots to avoid incomplete page loads
Ensure with_server.py is invoked with --help before attempting to use it so you understand its command-line interface
Verify that browser.close() is called at the end of every Playwright script to clean up resources
Confirm selectors used are descriptive such as text=, role=, CSS selectors, or IDs
AI Search
Find projects, verify facts, compare options, or turn a complex need into an actionable plan
Try a searchA click only fills the search box; you stay in control