Skip to content

webapp-testing (vendored)

Vendored from anthropics/skills/skills/webapp-testing (part of the fullstack-nextjs series). Synced via make sync; do not edit skills/vendor/fullstack-nextjs/webapp-testing/SKILL.md locally — changes will be clobbered on the next sync.

Upstream frontmatter description

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

What it teaches

Native Python Playwright workflow with a scripts/with_server.py helper that manages server lifecycle (multiple servers supported). Decision tree: static HTML → read selectors directly; dynamic webapp → use the helper + write a simplified Playwright script. Black-box scripts run with --help first to keep them out of the context window.

  • nextjs — the dev server that webapp-testing drives
  • frontend-design — close the loop: build → screenshot → critique

Canonical SKILL.md

See skills/vendor/fullstack-nextjs/webapp-testing/SKILL.md for the full instructions. Upstream source: anthropics/skills.