Web App Testing with Playwright skill for Claude Code

Run local browser workflows with Playwright and preserve evidence for UI failures.

How to add the Web App Testing with Playwright skill to Claude Code

Anthropic packages this skill in Example Skills. Use the intended local test URL and set up deterministic fixtures before collecting Playwright evidence.

  1. Add Anthropic’s Agent Skills marketplace, then install the example-skills package. It includes the complete webapp-testing skill folder.
  2. Open Claude Code and confirm the package is enabled under /plugin. Verify one user workflow on a development site you control.
Claude Code · Add the Agent Skills marketplace
claude plugin marketplace add anthropics/skills
Claude Code · Install the skill package
claude plugin install example-skills@anthropic-agent-skills

Try a first task

Test a local onboarding flow that should show a confirmation after permission is denied and the user tries again. Save a trace or screenshot so a teammate can see where a failing run diverges from the expected steps.

What to know before you start

Use a locally hosted test environment and write Playwright checks for actual user steps. Keep screenshots, logs, or other evidence for failures, and use the provided server-lifecycle helpers if the app needs them.

Publisher references

Anthropic

Browse Skills