webapp-testing
ALWAYS use this when the task involves browser automation, UI verification, DOM inspection, end-to-end checks, or reproducing a web bug in a running…
от Anhvu1107★ 25 звёзд на GitHub
Установить webapp-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Web App Testing
Selective Reading Rule
Start with:
references/usage-routing.mdreferences/quality-checklist.md
Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.
Core Rule
Discover first, then automate. Do not guess selectors or page state before checking the rendered application.
Selective Reading Rule
Start with:
references/senior-master-standard.mdreferences/selector-strategy.mdreferences/flake-triage.md
Then use examples/ only for patterns you actually need.
Decision Tree
- If the target is static HTML, read the file directly to discover likely selectors.
- If the target is a dynamic app, wait for the rendered state before inspecting the DOM.
- If a local server is needed, use
scripts/with_server.pyto manage it instead of hand-rolling startup logic.
Testing Workflow
- Map the surface area.
- Identify routes, important pages, key components, and critical user journeys.
- Inspect before acting.
- Wait for
networkidleon dynamic pages before reading DOM state. - Capture screenshots, page content, console logs, or element inventories to discover selectors.
- Wait for
- Automate critical flows.
- Cover happy paths first.
- Then test auth, high-value actions, and important error states.
- Review failures.
- Prefer root-cause fixes over adding waits.
Best Practices
- Test behavior rather than implementation details.
- Prefer stable selectors such as role, text, label, or
data-testid. - Keep tests independent and state-aware.
- Use screenshots and traces when failures are hard to explain from logs alone.
- Treat flaky tests as bugs, not noise.
Runtime Scripts
scripts/playwright_runner.py- Use for quick browser checks, screenshots, and lightweight audits.
scripts/with_server.py- Run with
--helpfirst. - Use to manage one or more local servers before a Playwright script runs.
- Run with
Example Resources
Review examples in examples/ when you need patterns for:
- element discovery
- static HTML automation
- console logging
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- LICENSE.txt
- agents/openai.yaml
- examples/console_logging.py
- examples/element_discovery.py
- examples/static_html_automation.py
- references/flake-triage.md
- references/quality-checklist.md
- references/selector-strategy.md
- references/senior-master-standard.md
- references/usage-routing.md
- scripts/playwright_runner.py
- scripts/with_server.py
FAQ
Что делает скилл webapp-testing?
ALWAYS use this when the task involves browser automation, UI verification, DOM inspection, end-to-end checks, or reproducing a web bug in a running application.
Как установить скилл webapp-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл webapp-testing запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…