---
name: "anthropics/skills webapp-testing — Playwright + with_server.py black box"
description: "Use when testing a local webapp with Playwright as a black-box skill."
---

# 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 with_server.py source. Never skip --help. Never invent selectors after a failed guess without recon.

## Steps
1. Launch chromium headless via sync_playwright.
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/with_server.py as a black box. Local app only.
