# webapp-testing

webapp-testing uses Python Playwright to test local web apps, inspect rendered pages, capture screenshots, and perform browser actions.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 178 installs · ★ 7 repo stars
- Author: eyadsibai
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/eyadsibai/ltk/tree/HEAD/plugins/ltk-devops/skills/webapp-testing/SKILL.md
- Updated: 2026-01-15
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/eyadsibai-webapp-testing

## What it does

webapp-testing gives an agent a Playwright-based way to exercise local web applications. With static HTML, it can read the file to locate selectors. With a dynamic app, it waits for the page to settle, examines the rendered DOM or takes a screenshot, then acts on selectors found during that inspection.

The skill covers headless Chromium sessions, post-action checks, browser console output, and starting a development server with `npm run dev`. Its examples use `http://localhost:5173` and run the server from `./frontend`. The Python package `playwright` and the Chromium browser must be installed first; otherwise these test scripts will not run.

## Requirements
- Works with: Playwright

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add eyadsibai/ltk --skill webapp-testing -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/webapp-testing/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/webapp-testing/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add eyadsibai/ltk --skill webapp-testing -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/webapp-testing/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add eyadsibai/ltk --skill webapp-testing -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/webapp-testing/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install eyadsibai/ltk plugins/ltk-devops/skills/webapp-testing
```

2. **Manually: put the files in place**
- File: `.github/skills/webapp-testing/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add eyadsibai/ltk --skill webapp-testing -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/eyadsibai/ltk --path plugins/ltk-devops/skills/webapp-testing
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/webapp-testing/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add eyadsibai/ltk --skill webapp-testing -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/eyadsibai/ltk/tree/HEAD/plugins/ltk-devops/skills/webapp-testing/SKILL.md

## When to use it
- test a local web application in a browser
- discover selectors in a rendered DOM
- capture a screenshot after the page loads
- verify a form and its success state
- collect browser console messages

## Example prompts
- Test the local app at `http://localhost:5173`, wait for it to settle, click the login control, and verify the result.
- Start the server with `npm run dev` from `./frontend`, open it in Chromium, and save a full-page screenshot.
- Inspect the rendered DOM and browser console, then exercise the form fields named `email` and `password`.

## Similar
- [testing-webapps](https://affpapa.org/en/nevibecode/skills/testing-webapps.md) — skill · 192 installs
- [web-debug](https://affpapa.org/en/nevibecode/skills/web-debug.md) — skill · 4500 installs
- [playwright-app-testing](https://affpapa.org/en/nevibecode/skills/playwright-app-testing.md) — skill · ★ 5104 repo stars
- [playwright-visual-testing](https://affpapa.org/en/nevibecode/skills/playwright-visual-testing.md) — skill · 1400 installs
- [frontend-testing-debugging](https://affpapa.org/en/nevibecode/skills/frontend-testing-debugging.md) — skill · 159 installs
- [e2e-testing](https://affpapa.org/en/nevibecode/skills/platform-team-e2e-testing.md) — skill · 1600 installs

## Other versions with the same name
- [webapp-testing · anthropics](https://affpapa.org/en/nevibecode/skills/webapp-testing.md) — 186758 installs
- [webapp-testing · bobmatnyc](https://affpapa.org/en/nevibecode/skills/bobmatnyc-webapp-testing.md) — 462 installs

From the same set: [eyadsibai/ltk](https://affpapa.org/en/nevibecode/by/eyadsibai/ltk.md) — 11 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
