webapp-testing

Official

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debu…

anthropics ↓ 120k
Claude Code
View source ↗

What it does

  • scripts/withserver.py - Manages server lifecycle (supports multiple servers)
  • Use syncplaywright() for synchronous scripts
  • Always close the browser when done
  • Use descriptive selectors: text=, role=, CSS selectors, or IDs
  • Add appropriate waits: page.waitforselector() or page.waitfortimeout()
  • examples/ - Examples showing common patterns:
  • elementdiscovery.py - Discovering buttons, links, and inputs on a page

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

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.

Source

Repository: https://github.com/anthropics/skills

webapp-testing FAQ

What does the webapp-testing skill do?

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. scripts/withserver.py - Manages server lifecycle (supports multiple servers) Use syncplaywright() for synchronous scripts

How do I install webapp-testing?

Run: npx -y skills add https://github.com/anthropics/skills --skill webapp-testing --agent claude-code — the source lives at github.com/anthropics/skills.

Maintain webapp-testing?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

webapp-testing on getagentictools
[![webapp-testing on getagentictools](https://getagentictools.com/badge/skills/anthropics-skills-webapp-testing.svg)](https://getagentictools.com/skills/anthropics-skills-webapp-testing?ref=badge)
npx agentictools info skills/anthropics-skills-webapp-testing

The second line is the CLI lookup for this page — handy in READMEs and docs.