# Webapp Testing

CreateWithAI Hub page: https://createwithaihub.com/skills/webapp-testing-skill
Latest version of this file: https://createwithaihub.com/skills/webapp-testing-skill.md

- Type: Skill · Category: Skills
- Publisher: Anthropic (official)
- Pricing: Free · License: Apache-2.0
- Works with: Claude Code, Claude apps, Claude API

Anthropic skill that has Claude test local web apps by writing Python Playwright scripts, with screenshots and browser logs.

Webapp Testing is a skill in Anthropic's example set for interacting with and testing local web applications using Playwright. Claude writes native Python Playwright scripts, uses a bundled helper to start and stop one or more dev servers, and follows a reconnaissance-then-action pattern: load the page, inspect the rendered DOM or a screenshot, then act on the selectors it found. It is for developers who want Claude to verify front-end behaviour or debug UI problems.

Useful for: Having Claude start your dev server, click through a signup form in headless Chromium and report what broke, with a screenshot and console logs.

## Key features

- Python Playwright scripts for verifying frontend functionality
- with_server.py helper manages the lifecycle of one or more local servers
- Decision tree for static HTML versus dynamic web apps
- Captures browser screenshots and browser console logs
- Example scripts for element discovery, static HTML automation and console logging

## Connection

- Repository source: Anthropic
- Installation: Plugin marketplace

## Skill source

- SKILL.md: https://github.com/anthropics/skills/blob/main/skills/webapp-testing/SKILL.md
- Folder: https://github.com/anthropics/skills/tree/main/skills/webapp-testing

## Before you start

- Python
- Playwright for Python

## Install steps from the official documentation

Add marketplace in Claude Code:

```
/plugin marketplace add anthropics/skills
```

Claude Code (part of example-skills):

```
/plugin install example-skills@anthropic-agent-skills
```

## Limitations

- Provided by Anthropic for demonstration and educational purposes; behaviour in Claude may differ
- Needs Python and Playwright with a Chromium browser in the environment where Claude runs code

## Official links

- Source repository: https://github.com/anthropics/skills/tree/main/skills/webapp-testing
- Documentation: https://support.claude.com/en/articles/12512180-using-skills-in-claude
- Source: https://github.com/anthropics/skills/blob/main/skills/webapp-testing/SKILL.md (Skill name and description (Playwright testing of local web apps, screenshots, browser logs); with_server.py helper and decision tree)
- Source: https://github.com/anthropics/skills/blob/main/skills/webapp-testing/LICENSE.txt (Apache License 2.0 for this skill folder)
- Source: https://github.com/anthropics/skills/blob/main/.claude-plugin/marketplace.json (Included in the example-skills plugin of the anthropic-agent-skills marketplace)
- Source: https://github.com/anthropics/skills (README: install commands, demonstration-only disclaimer, availability on Claude.ai paid plans and the Claude API)
