
Webapp testing
Lets your agent write and run Playwright scripts to test local web apps in a browser
Webapp testing is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 203K
- Last commit
- Listing updated
Similar skills
About Webapp testing
This skill guides an agent through testing local web applications with native Python Playwright scripts. It covers verifying frontend behavior, inspecting rendered DOM and selectors, taking screenshots and reading browser console logs.
The workflow starts by choosing an approach: static HTML can be read directly for selectors, while dynamic apps are handled by checking whether the server is already running. For dynamic apps the agent waits for network idle, inspects the page, then acts on discovered selectors. Scripts run headless Chromium and close the browser when finished.
A bundled helper, with_server.py, starts one or more development servers before a test script runs and manages their lifecycle. The agent is told to read its --help output first rather than its source. Examples cover element discovery, file:// URLs for local HTML and console logging. Python and Playwright must be available, and a local app to test is required.
When your agent uses it
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- Network calls found in its scripts(see the files on GitHub)
- No license found(see the files on GitHub)
From a static check of its 6 files (22 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the example-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add anthropics/skills
/plugin install example-skills@anthropic-agent-skillsOr copy only this skill to ~/.claude/skills/webapp-testing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/webapp-testing &&
cp -R "$tmp/skills/webapp-testing" ~/.claude/skills/webapp-testing &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/webapp-testing inside it instead.
Copy the skill folder to ~/.agents/skills/webapp-testing to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/webapp-testing &&
cp -R "$tmp/skills/webapp-testing" ~/.agents/skills/webapp-testing &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/webapp-testing inside it instead.
Copy the skill folder to ~/.cursor/skills/webapp-testing to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/webapp-testing &&
cp -R "$tmp/skills/webapp-testing" ~/.cursor/skills/webapp-testing &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/webapp-testing inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/anthropics/skills.git --path skills/webapp-testingOr copy the folder to ~/.gemini/skills/webapp-testing yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/webapp-testing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/webapp-testing &&
cp -R "$tmp/skills/webapp-testing" ~/.copilot/skills/webapp-testing &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/webapp-testing inside it instead.
Get the folder:
git clone --depth 1 https://github.com/anthropics/skills.gitThen copy skills/skills/webapp-testing into your agent's skills folder as webapp-testing. Agents that support SKILL.md read one folder per skill.
What it does
- Playwright test scripts
- Guidance for writing synchronous Python Playwright automation against local pages.
- Server lifecycle helper
- A bundled script that starts one or more servers before running a test script.
- Reconnaissance workflow
- Steps to inspect rendered DOM and screenshots before choosing selectors.
- Screenshots and console logs
- Capturing page screenshots and browser console output during automation.
- Static versus dynamic decision
- A decision path for static HTML files versus JavaScript-driven apps.
- Reference examples
- Example scripts for element discovery, local HTML and console logging.
Good for
- Check that a login form submits and shows the right message
- Take screenshots of a local dev server page for visual review
- Debug a button that does nothing by reading browser console logs
- Run a frontend test against a backend and frontend started together
Webapp testing FAQ
What does Webapp testing need to run?
Python and Playwright. The helper script with_server.py starts the servers your app needs, and the skill assumes a local web application to test.
Does Webapp testing test remote websites?
The skill is written for local web applications, using localhost URLs or local HTML files.
Does the agent read the helper script source?
No. The instructions tell the agent to run the script with --help first and use it as a black box unless a customized solution is clearly needed.
How do I install Webapp testing in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/webapp-testing to use it in all your projects, or to .claude/skills/webapp-testing in one project. Or install the example-skills plugin, which includes it: /plugin marketplace add anthropics/skills, then /plugin install example-skills@anthropic-agent-skills.
Does Webapp testing run scripts?
Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Webapp testing?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Webapp testing?
The closest alternatives to Webapp testing are Webapp testing, Playwright skill, Playwright generate test, Playwright and Playwright interactive.
Where this comes from
- Description: from the skill's own SKILL.md.
More from anthropics/skills

Blank SKILL.md starter for building your own agent skill
- 203K GitHub stars
- Developer tools

Guides an agent through drafting, testing and tuning new agent skills with measured evals
- Free
- 203K GitHub stars
- AI models and LLM tooling

Adds a short Claude Academy course or tutorial pointer after answers about using Claude
- Free
- 203K GitHub stars
- AI models and LLM tooling

Creates seeded, interactive generative art in p5.js starting from a written philosophy
- Free
- 203K GitHub stars
- Design and media

Applies Anthropic's brand colors and Poppins and Lora typography to generated artifacts
- Free
- 203K GitHub stars
- Design and media

Makes single-page posters and art pieces as PNG or PDF from a written design philosophy
- Free
- 203K GitHub stars
- Design and media




