中文
All Agent Engineering

Skill

webapp-testing Skill: drive local web apps with Playwright

Official Anthropic webapp-testing Skill: Python Playwright scripts for local web apps, not tested

This is a skill folder in the anthropics/skills repository. The page follows the SKILL.md text and is not tested.

Verified
· Not tested by us
Applies to
  • Claude Code Used in Claude Code through the whole example-skills plugin (listed in both the README and marketplace.json); installing webapp-testing on its own is not stated officially[4][5][3]
How to invoke
No official command

No verbatim invocation command for this skill was found in this check; after installing the whole example-skills plugin, the README says to mention the skill in conversation (its example is the PDF skill, so for this skill it is by analogy); SKILL.md names it webapp-testing[1][4]

Install
/plugin marketplace add anthropics/skills
/plugin install example-skills@anthropic-agent-skills

Installs the whole example-skills plugin (webapp-testing plus 11 other skills), not this skill alone; a single-skill install is not stated officially[4][5]

Prerequisites
  • Account Not stated officially[1]
  • CLI Not stated officially[1]
  • Permissions Not stated officially[1]
  • Cost Not stated officially[1]
  • Python and Playwright (SKILL.md asks for native Python Playwright scripts; install method not stated officially)[1]
Checked revision
dbd4588

When to use

  • You need to verify frontend functionality of a local web app or debug UI behavior; the SKILL.md description lists this.[1]
  • You need browser screenshots or browser logs; the description lists these too.[1]

When not to use

  • The target is not a local web app (inference): SKILL.md is written for local apps such as localhost servers; other cases are not stated officially.[1]
  • You do not want to use Python scripts (inference): SKILL.md asks for native Python Playwright scripts and offers no other route; the official text does not list this as a non-use case.[1]

Purpose and approach

The SKILL.md description says this is a toolkit for interacting with and checking local web applications using Playwright, supporting frontend verification, UI debugging, browser screenshots and viewing browser logs. The body asks you to write native Python Playwright scripts.[1]

  • A bundled script, scripts/with_server.py, manages the lifecycle of one or more servers
  • SKILL.md says to run scripts with --help first and only read the source if truly necessary
  • The examples/ folder has three examples: element discovery, static HTML automation, console logging

[1][3]

The official decision flow

Main branches of the SKILL.md decision tree
SituationWhat to do
Static HTMLRead the HTML to find selectors, then write a Playwright script; if that fails, treat it as dynamic
Dynamic app, server not runningRun python scripts/with_server.py --help first, then use it with a simplified script
Dynamic app, server already runningReconnaissance then action: wait for networkidle, screenshot or inspect the DOM, then act with the selectors found

[1]

Pitfall called out officially: on dynamic apps, wait for networkidle before inspecting the DOM. The SKILL.md example launches chromium in headless mode.[1]

Dependencies, install and license

Official information at a glance
ItemWhat the official text says
RuntimePython Playwright scripts; how to install Playwright is not stated officially
Install commandNo install command for this skill on its own; the root README gives the install command for the whole example-skills plugin (below)
LicenseApache License 2.0 (from the LICENSE.txt text); the frontmatter says see LICENSE.txt
Account, permissions, costNot stated officially

[1][2][4]

The repository root README at the same SHA says to run /plugin marketplace add anthropics/skills to register the repo as a marketplace, then /plugin install example-skills@anthropic-agent-skills; the example-skills list in marketplace.json includes ./skills/webapp-testing. This installs the whole plugin (with 11 other skills) rather than webapp-testing alone; a single-skill install is not stated officially. After installing, the README says you can use a skill just by mentioning it; its example is the PDF skill, so applying that to webapp-testing is by analogy.[4][5][3]

Sources

All links are official pages; verification dates are listed per source, and links point to the version checked.

  1. Anthropic · webapp-testing SKILL.md
    dbd4588
  2. Anthropic · webapp-testing LICENSE.txt
    dbd4588
  3. Anthropic · skills/webapp-testing
    dbd4588
  4. Anthropic · anthropics/skills README
    dbd4588
  5. Anthropic · anthropics/skills marketplace.json
    dbd4588

Found an error? Tell us →