webapp-testing

webapp-testing is a skill for Claude Code from curiositech/some_claude_skills. It costs 72 tokens per session (1,808 once invoked), scanned A, original, MIT.

A browser-based testing guide that uses Playwright, a tool for controlling real web browsers from test code. It covers automated user flows, screenshots, form checks, browser logs, and visual comparisons.

In plain words
What is it for?
Use it for end-to-end tests, UI automation, visual regression checks, form validation, screenshots, and browser-log debugging.
Why use it?
It helps verify that a web application works as users experience it and makes UI failures easier to investigate. It is intended for browser-based applications, not API-only, mobile, or load testing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for end-to-end tests, UI automation, visual regression checks, form validation, screenshots, and browser-log debugging.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/curiositech/some_claude_skills/webapp-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add curiositech/some_claude_skills --skill webapp-testing
Clone the repo
git clone --depth 1 https://github.com/curiositech/some_claude_skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for webapp-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/curiositech/some_claude_skills/webapp-testing/github.svg)](https://agentmods.dev/skills/curiositech/some_claude_skills/webapp-testing)
Your own site
<a href="https://agentmods.dev/skills/curiositech/some_claude_skills/webapp-testing"><img src="https://agentmods.dev/badge/skills/curiositech/some_claude_skills/webapp-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for webapp-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/curiositech/some_claude_skills/webapp-testing"><img src="https://agentmods.dev/badge/skills/curiositech/some_claude_skills/webapp-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,808 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.01808
Opus 5.5 $0.00029 $0.00723
Sonnet 5.5 $0.00014 $0.00362
Haiku 4.5 $0.00007 $0.00181

Measured 2mo ago against content hash c9a24dfa5274, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

webapp-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/webapp-testing/SKILL.md · 300 lines

How it starts

The opening of the file, as written. The whole thing — 300 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Application Testing

Write native Python Playwright scripts to test local web applications.

When to Use

✅ Use for:

  • E2E testing of web applications
  • UI automation and interaction testing
  • Visual regression testing
  • Browser log capture and debugging
  • Screenshot capture for verification
  • Form submission and validation testing

❌ NOT for:

  • API-only testing without a browser (use requests/httpx)
  • Unit testing of individual functions
  • Mobile app testing (use Appium)
  • Load/performance testing (use k6/Locust)

Decision Tree: Choosing Your Approach

User task → Is it static HTML?
    ├─ Yes → Read HTML file directly to identify selectors
    │         ├─ Success → Write Playwright script using selectors
    │         └─ Fails/Incomplete → Treat as dynamic (below)
    │
    └─ No (dynamic webapp) → Is the server already running?
        ├─ No → Start server first, then run Playwright
        │
        └─ Yes → Reconnaissance-then-action:
            1. Navigate and wait for networkidle
            2. Take screenshot or inspect DOM
            3. Identify selectors from rendered state
            4. Execute actions with discovered selectors

Core Playwright Patterns

Basic Test Structure

from playwright.sync_api import sync_playwright

with sync_playwright() as p:
    browser = p.chromium.launch(headless=True)  # Always headless
    page = browser.new_page()
    page.goto('http://localhost:5173')
    page.wait_for_load_state('networkidle')  # CRITICAL for SPAs

    # ... your test logic

    browser.close()

Reconnaissance-Then-Action Pattern

Step 1: Inspect rendered DOM

page.screenshot(path='/tmp/inspect.png', full_page=True)
content = page.content()
buttons = page.locator('button').all()

Step 2: Identify selectors from inspection results

Step 3: Execute actions using discovered selectors

Selector Strategy (Priority Order)

  1. Role-based (best for accessibility):
    page.get_by_role("button", name="Submit")
    page.get_by_role("textbox", name="Email")
    

Read the full file on GitHub · 300 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 300 lines · 72 tokens per session scan A c9a24dfa5274

Subscribe to this mod's changes

webapp-testing is a skill published in the GitHub repository curiositech/some_claude_skills (278 stars, last pushed 3d ago), licensed MIT. It adds 72 tokens to every session and 1,808 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

webapp-testing compared with skills from other repositories

webapp-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
webapp-testingcuriositech/some_claude_skillsSkill2783d agoMITA72Claude Code
cua-driverdavidondrej/skillsSkill4.4k3d agoMITA68Claude Code, Codex
create-verification-skillget-bb/bbSkill6.2kyesterdayMITA57Claude Code, Codex
codex-computer-usedavidondrej/skillsSkill4.4k3d agoMITA53Claude Code, Codex
webapp-testinganthropics/skillsSkill202k14d agononeA35Claude Code
test-electron-appPostHog/posthog-fossSkill733todayMITA112Claude Code
smoke-testSkyvern-AI/skyvernSkill24kyesterdayAGPL-3.0A50Claude Code, Codex