# Webapp testing

> Webapp testing is an open-source agent skill for browser automation. Lets your agent drive and test local web apps in a real browser with Playwright. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/github/awesome-copilot/tree/main/skills/webapp-testing
- **Repository:** https://github.com/github/awesome-copilot
- **GitHub stars:** 41,707
- **License:** MIT
- **Skill name:** webapp-testing
- **Collection:** https://github.com/github/awesome-copilot
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-30

## About

This skill guides an AI coding agent through automated testing of a locally running web application. It prefers the Playwright MCP Server when one is available and otherwise falls back to running Playwright scripts in a local Node.js environment, installing Playwright if it is missing.

The skill sets out a workflow built around checking that the app is reachable first, using explicit waits before interactions, taking screenshots when something fails, closing the browser afterwards, and building tests up step by step. It includes code patterns for waiting on elements, checking whether an element exists, capturing console output, and handling errors.

You need Node.js and a running app or an accessible URL. The bundled helper file offers small utilities for waiting, screenshots and error handling. The skill notes that it does not cover native mobile apps and may struggle with complex authentication flows.

## 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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs JavaScript scripts](https://github.com/github/awesome-copilot/tree/HEAD/skills/webapp-testing)
- [No network calls found in its scripts](https://github.com/github/awesome-copilot/tree/HEAD/skills/webapp-testing)
- [License: MIT](https://github.com/github/awesome-copilot/tree/HEAD/skills/webapp-testing)

## Features

- **Browser automation steps:** Covers navigating pages, clicking, filling forms, selecting dropdowns and handling dialogs.
- **Frontend verification checks:** Asserts element presence, text, visibility, URLs and responsive behaviour.
- **Debugging helpers:** Captures screenshots, console logs and network requests to trace UI problems.
- **Explicit wait patterns:** Shows how to wait for elements or navigation before the agent interacts.
- **Error handling pattern:** Demonstrates capturing a screenshot when a browser action fails and rethrowing the error.
- **Bundled helper functions:** Provides a helper file with utilities for common waiting, screenshot and error tasks.

## Good for

- Check that a login form submits and redirects to the dashboard
- Capture a screenshot of a local page to document a UI state
- Read browser console logs while reproducing a frontend bug
- Verify that a page layout works across several viewport sizes
- Walk through a multi-step user flow on a local development server

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/webapp-testing` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.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.

### Codex

Copy the skill folder to `~/.agents/skills/webapp-testing` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.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.

### Cursor

Copy the skill folder to `~/.cursor/skills/webapp-testing` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/github/awesome-copilot.git --path skills/webapp-testing
```

Or copy the folder to `~/.gemini/skills/webapp-testing` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/webapp-testing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/github/awesome-copilot.git
```

Then copy `awesome-copilot/skills/webapp-testing` into your agent's skills folder as `webapp-testing`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs Node.js on the system and a locally running web application or an accessible URL. Playwright is installed automatically if it is not already present.

### Does Webapp testing use the Playwright MCP Server?

Yes, the skill tells the agent to use the Playwright MCP Server when it is available, and to fall back to a local Node.js run with Playwright otherwise.

### What kinds of apps is Webapp testing not suited for?

The skill states it cannot test native mobile apps and that complex authentication flows may cause problems.

### 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.

### Does Webapp testing run scripts?

Yes. It runs JavaScript scripts. No network calls were found in its scripts. 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 explore website and Playwright.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Webapp testing](https://ai-powered.com/skills/webapp-testing): Webapp testing is an open-source agent skill for browser automation.
- [Playwright skill](https://ai-powered.com/skills/playwright-skill): Playwright skill is an open-source agent skill for browser automation.
- [Playwright generate test](https://ai-powered.com/skills/playwright-generate-test): Playwright generate test is an open-source agent skill for browser automation.
- [Playwright explore website](https://ai-powered.com/skills/playwright-explore-website): Playwright explore website is an open-source agent skill for browser automation.
- [Playwright](https://ai-powered.com/skills/playwright): Playwright is a free agent skill for browser automation.
- [Agent browser](https://ai-powered.com/skills/agent-browser-chachamaru127-2): Agent browser is an open-source agent skill for browser automation.
- [Playwright interactive](https://ai-powered.com/skills/playwright-interactive): Playwright interactive is a free agent skill for browser automation.
- [Smartui skill](https://ai-powered.com/skills/smartui-skill): Smartui skill is an open-source agent skill for browser automation.

---
Source: https://ai-powered.com/skills/webapp-testing-github
