anthropic-webapp-testing

anthropic-webapp-testing is a skill for Claude Code, Codex from davekilleen/Dex. It costs 37 tokens per session (921 once invoked), scanned A, a copy of webapp-testing, MIT.

A toolkit for using Playwright to interact with and test local web applications. Playwright is a browser-control tool that can check pages, capture screenshots, and read browser logs.

In plain words
What is it for?
Testing local web apps, debugging UI behavior, taking screenshots, and checking browser logs.
Why use it?
It helps find broken user-interface behavior and verify that frontend features work as expected.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents).

Good fit Testing local web apps, debugging UI behavior, taking screenshots, and checking browser logs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davekilleen/dex/anthropic-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 davekilleen/Dex --skill anthropic-webapp-testing
Clone the repo
git clone --depth 1 https://github.com/davekilleen/Dex

Made for: Claude Code, Codex.

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 anthropic-webapp-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/davekilleen/dex/anthropic-webapp-testing/github.svg)](https://agentmods.dev/skills/davekilleen/dex/anthropic-webapp-testing)
Your own site
<a href="https://agentmods.dev/skills/davekilleen/dex/anthropic-webapp-testing"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/anthropic-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 anthropic-webapp-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/davekilleen/dex/anthropic-webapp-testing"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/anthropic-webapp-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 921 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.
Origin 88% copy Near-identical to another mod 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.00037 $0.00921
Opus 5.5 $0.00015 $0.00368
Sonnet 5.5 $0.00007 $0.00184
Haiku 4.5 $0.00004 $0.00092

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 4 executable files (examples/console_logging.py, examples/element_discovery.py, examples/static_html_automation.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

88% identical to webapp-testing — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/anthropic-webapp-testing/SKILL.md · 98 lines

How it starts

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

Web Application Testing

To test local web applications, write native Python Playwright scripts.

Helper Scripts Available:

  • scripts/with_server.py - Manages server lifecycle (supports multiple servers)

Always run scripts with --help first to see usage. DO NOT read the source until you try running the script first and find that a customized solution is abslutely necessary. These scripts can be very large and thus pollute your context window. They exist to be called directly as black-box scripts rather than ingested into your context window.

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 → Run: python scripts/with_server.py --help
        │        Then use the helper + write simplified Playwright script
        │
        └─ 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

Example: Using with_server.py

To start a server, run --help first, then use the helper:

Single server:

python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_automation.py

Multiple servers (e.g., backend + frontend):

python scripts/with_server.py \
  --server "cd backend && python server.py" --port 3000 \
  --server "cd frontend && npm run dev" --port 5173 \
  -- python your_automation.py

To create an automation script, include only Playwright logic (servers are managed automatically):

from playwright.sync_api import sync_playwright

with sync_playwright() as p:
    browser = p.chromium.launch(headless=True) # Always launch chromium in headless mode
    page = browser.new_page()
    page.goto('http://localhost:5173') # Server already running and ready
    page.wait_for_load_state('networkidle') # CRITICAL: Wait for JS to execute
    # ... your automation logic
    browser.close()

Read the full file on GitHub · 98 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 98 lines · 37 tokens per session scan A acbb8906f430

Subscribe to this mod's changes

anthropic-webapp-testing is a skill published in the GitHub repository davekilleen/Dex (522 stars, last pushed 6d ago), licensed MIT. It adds 37 tokens to every session and 921 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to webapp-testing, differing in 7 lines, and is treated as a copy.

Related

anthropic-webapp-testing compared with skills from other repositories

anthropic-webapp-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
anthropic-webapp-testingdavekilleen/DexSkill5226d agoMITA37Claude Code, Codex
e2e-testing-patternswshobson/agentsSkill43k6d agoMITA51Claude Code
browserDevZonayed/MochiSkill327d agoMITA50Claude Code
webapp-testinginbharatai/claude-skillsSkill448mo agoMITA29Claude Code, Codex
screen-reader-testingwshobson/agentsSkill43k6d agoMITA39Claude Code
ha-browsershiwenwen/hope-agentSkill1.9kyesterdayMITA140Claude Code
startup-qa-bot-evidencemakecindy/cindySkill11ktodayApache-2.0A30Claude Code, Codex