What problem does it solve?
Local web developers and QA teams need reliable, repeatable tests for local web applications. This Skill provides a Python-based Playwright toolkit to automate UI checks, capture screenshots, and observe browser logs, reducing manual debugging time.
Core Features & Use Cases
- Playwright-driven UI testing for local applications
- Automated screenshot capture and browser log collection
- Server orchestration with scripts/with_server.py for single or multi-server setups
- Reference examples and runnable templates to accelerate adoption
Quick Start
Use the skill to start a local server and run your first Playwright automation:
- Start a single server: python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_automation.py
- Start multiple servers: python scripts/with_server.py --server "cd backend && python server.py" --port 3000 --server "cd frontend && npm run dev" --port 5173 -- python your_automation.py
- Create an automation script with Playwright logic:
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
browser = p.chromium.launch(headless=True)
page = browser.new_page()
page.goto('http://localhost:5173')
page.wait_for_load_state('networkidle')
# your automation steps
browser.close()