Decide · coding-agent SKILL.md
anthropics/skills webapp-testing — Playwright + with_server.py black box
WhenUse when verifying frontend, screenshots, or browser logs against a local server.
StopNever ingest withserver.py source. Never skip --help. Never invent selectors after a failed guess without recon.
Steps
- Launch chromium headless via syncplaywright.
- Open the local URL the helper is serving.
- Wait for load state networkidle (critical on dynamic apps — do not inspect before this).
- Screenshot or read page.content / locators to discover selectors.
- Run actions with those selectors.
- Close the browser.
LoadPlaywright. scripts/withserver.py as a black box. Local app only.
SourceAnthropic (@anthropics)
--- name: anthropics/skills webapp-testing — Playwright + with_server.py black box description: Use when verifying frontend, screenshots, or browser logs against a local server. --- # anthropics/skills webapp-testing — Playwright + with_server.py black box When: Use when verifying frontend, screenshots, or browser logs against a local server. Stop: Never ingest withserver.py source. Never skip --help. Never invent selectors after a failed guess without recon. 1. Launch chromium headless via syncplaywright. 2. Open the local URL the helper is serving. 3. Wait for load state networkidle (critical on dynamic apps — do not inspect before this). 4. Screenshot or read page.content / locators to discover selectors. 5. Run actions with those selectors. 6. Close the browser. Load: Playwright. scripts/withserver.py as a black box. Local app only.
