Blog /
Webapp Testing Skill for Claude Code: Install and Limits
The webapp testing skill from Anthropic's skills repository checks local apps with Playwright. Learn how to install it in Claude Code and where it stops.

webapp-testing is a skill from Anthropic's public anthropics/skills repository, described as a "Toolkit for interacting with and testing local web applications using Playwright". Claude Code installs it with /plugin marketplace add anthropics/skills, then /plugin install example-skills@anthropic-agent-skills. It is built for apps running locally, not for checking the deployed app.
That limit matters more as agents ship faster. In a 2025 survey of 900 engineers and technical leaders in the United States, United Kingdom, France and Germany, published in Harness's AI velocity report, 72% of organizations said they had suffered at least one production incident caused by AI-generated code, and 45% of deployments involving AI-generated code led to problems. A coding agent can finish a feature and report success while the same flow fails in a real browser.
For a team of one to ten developers with nobody whose job is testing, it helps to know exactly what the skill covers, how to install it, and where another kind of check takes over.
What does the webapp-testing skill do?
The skill's SKILL.md defines its scope in one line: "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." Its first instruction to Claude is: "To test local web applications, write native Python Playwright scripts."

Driving a real browser from code is an old idea in web testing; Selenium began in 2004 at ThoughtWorks, as the Edgepedia history of Selenium recounts. What the skill adds is a set of instructions that lets Claude Code do it on its own during a session. It supports four jobs:
Verifying frontend functionality: Claude opens a local page, acts on it and looks at what changed.
Debugging UI behavior: Claude inspects the rendered page instead of guessing from source files.
Capturing browser screenshots: Playwright saves an image of the rendered page as evidence.
Viewing browser logs: the script reads browser console output, where errors after an action show up.
Every workflow in the skill assumes the app runs on your own machine. Installing it does not schedule anything or connect to a production domain.
How to install it in Claude Code
The anthropics/skills README gives two commands to run inside Claude Code:
/plugin marketplace add anthropics/skills /plugin install example-skills@anthropic-agent-skills
The first registers the repository as a plugin marketplace; the second installs the example-skills plugin, which contains webapp-testing. If you prefer menus, run /plugin, choose Browse and install plugins, then anthropic-agent-skills, then example-skills, then Install now. The same marketplace also offers document-skills@anthropic-agent-skills.
A few things from the Claude Code skills documentation help here:
Claude picks it up on its own. "Claude uses skills when relevant, or you can invoke one directly with
/skill-name." Thedescriptionfield is what Claude reads to decide.Plugin skills are namespaced. A skill that comes from a plugin is available "as
/plugin-name:skill-name", so this one is called through theexample-skillsnamespace rather than as a plain/webapp-testing.You can also keep your own copy. Personal skills live at
~/.claude/skills/<skill-name>/SKILL.mdand load in all your projects on that machine; project skills live at.claude/skills/<skill-name>/SKILL.mdand load in sessions in that repository, so committing the folder gives your team the same instructions.
On licensing, the README says "Many skills in this repo are open source (Apache 2.0)". Read the LICENSE.txt in the skill's own folder before you copy or modify it.
How it works

The decision tree
SKILL.md starts with a decision tree:
Static HTML? Claude reads the HTML file directly to find selectors and writes a Playwright script with them. If that fails or is incomplete, it treats the page as dynamic.
Dynamic app, server not running? Claude runs
python scripts/with_server.py --helpfirst, then uses the helper and writes a simplified Playwright script.Dynamic app, server running? Claude follows the reconnaissance-then-action pattern below.
The skill tells Claude to "Always run scripts with --help first" and to use its bundled scripts as black boxes rather than reading their source, because they "can be very large and thus pollute your context window."
Starting the server with with_server.py
The single-server example from SKILL.md:
python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_automation.py
--server is the command that starts your dev server, --port is where it listens, and everything after -- is the Playwright script to run once it is up. The helper also accepts several --server/--port pairs, for example a backend and a frontend.
Reconnaissance, then action
For a running dynamic app, the skill has Claude:
Navigate and wait for
networkidle.Take a screenshot or inspect the DOM.
Identify selectors from the rendered state.
Execute actions with the selectors it found.
The one pitfall it calls out: "Don't inspect the DOM before waiting for networkidle on dynamic apps." On a client-rendered app, inspecting too early means reading a half-loaded page and picking selectors that are not there a moment later. When the script finishes, Claude has screenshots and console output to look at, not just its own assumption that the change works. If you want Claude Code to finish every task with checks like this, see how to make Claude Code validate its own work.
Where the skill fits among browser checks
Browser checks differ on two things: where the app runs, and who drives the browser.
| Option | Runs against | Who drives it | Best when |
|---|---|---|---|
webapp-testing skill | Your app running locally, through Python Playwright scripts | Claude Code, which writes and runs the scripts | You are building or debugging UI on a local dev server |
| Playwright MCP | Any URL the browser can reach | Your coding agent, through MCP tool calls | You want the agent to drive a browser step by step from any MCP client |
| Claude in Chrome | Your own signed-in Chrome | Claude Code, inside your browser | A flow depends on a login you already have in Chrome |
| Playwright test suite in CI | Your app in a CI run | Your CI runner, on each pull request | You need the same deterministic checks on every pull request; the better choice for regressions |
| A separate check of the deployed app | The live app | Something outside your coding session | You need to know a release works for real users after deploy |
- Option
webapp-testingskill- Runs against
- Your app running locally, through Python Playwright scripts
- Who drives it
- Claude Code, which writes and runs the scripts
- Best when
- You are building or debugging UI on a local dev server
- Option
- Playwright MCP
- Runs against
- Any URL the browser can reach
- Who drives it
- Your coding agent, through MCP tool calls
- Best when
- You want the agent to drive a browser step by step from any MCP client
- Option
- Claude in Chrome
- Runs against
- Your own signed-in Chrome
- Who drives it
- Claude Code, inside your browser
- Best when
- A flow depends on a login you already have in Chrome
- Option
- Playwright test suite in CI
- Runs against
- Your app in a CI run
- Who drives it
- Your CI runner, on each pull request
- Best when
- You need the same deterministic checks on every pull request; the better choice for regressions
- Option
- A separate check of the deployed app
- Runs against
- The live app
- Who drives it
- Something outside your coding session
- Best when
- You need to know a release works for real users after deploy
The skill suits active feature work, when Claude should write a throwaway script, start the dev server and look at screenshots and logs. Playwright MCP is the better choice when the agent should drive a browser interactively against any reachable URL, including staging. For a side-by-side of Playwright MCP and Chrome DevTools MCP from an analytics angle, see Trackingplan's comparison of the two MCP servers.
Neither the skill nor an ad-hoc MCP session replaces a committed Playwright suite in CI: the suite runs the same assertions on every pull request, so a commit that breaks sign-in fails the merge. Claude in Chrome solves a different problem, working inside a browser profile that is already signed in. Our overview of browser options for Claude Code covers these in more depth. None of them watches the live URL after the session ends.
Frequently asked questions
Can the webapp-testing skill test a production site?
It is not built for that. Its description defines it as a toolkit for testing local web applications with Playwright, and its examples start a local dev server. Checking a deployed release needs a check that runs against the live URL.
Do I need Python?
Yes. The skill tells Claude to "write native Python Playwright scripts", its example uses from playwright.sync_api import sync_playwright, and with_server.py is a Python script. You need Python and Playwright for Python on the machine.
Skill or Playwright MCP?
Use the skill when Claude Code should write and run a Python Playwright script against your local dev server. Use Playwright MCP when the agent should drive a browser through MCP tool calls, against any URL, from any MCP client. Many teams use both, plus a Playwright suite in CI.
Your agent says “done”. We check your app.
After each deploy and every day, we walk the journeys you choose on your live app and tell your agent what passed and what failed, with screenshots.
claude mcp add --scope user --transport http checkmyapp https://checkmyapp.dev/mcpFree account: $3 of checks, no card · Cursor, Codex and the full install guide
Limits, and a check for the live app
The skill's limits follow from its design:
It runs when a session runs. Nothing checks the app between coding sessions.
It checks the local build. Production adds its own environment variables, hosting, third-party services and real accounts, and a flow can break there while it works on
localhost.One run shows what that run saw. It is evidence for that build, not a guarantee for the next deploy.
Apps used by signed-in people fail in ways a local run does not show; 99tests' guide to testing web apps for signed-in users walks through sessions, roles and browser differences. A real example from our own app, described on our /why page: on JobLander, sign-in returned HTTP 200 and created a session, but the user stayed on /login. It was found by a check of the live app and fixed in PR #349.
A workable split for a small team:
Keep the skill for local work while building components and fixing UI bugs against the dev server.
Name the journeys that matter: sign-up, sign-in, the core action, payment if you have one.
Run a Playwright suite in CI for deterministic checks before merge.
Check the deployed app separately after release, and send what failed back to the agent to fix.
For the full loop, see how to check your app still works after an AI coding agent changes it.
That last step is what CheckMyApp is for. The skill checks your local app inside the session; after deploy, your agent says "done", and CheckMyApp uses your live app as a real user and tells your agent what broke. It connects to Claude Code, Cursor and Codex through MCP. Read why it exists.
This article was prepared with the help of AI. Found a mistake? Tell us.


