Language:JapaneseEnglish

webapp-testing Claude Code Skill

Author
Anthropic
Topics
Code Quality, Review & Testing · Web & App Development
License
Apache-2.0(opens in a new tab)
First cataloged
2026-07-09 (UTC)
Explanation last updated
2026-11-16 (UTC)
Source (GitHub) last updated
2026-04-20 (UTC) (224 days ago)

The explanation below is AI-generated. Please verify it against the sources.

This skill guides Claude in writing and running native Python Playwright scripts to test locally running web applications. It covers verifying frontend behavior, debugging UI interactions, capturing full-page screenshots, and reading browser console logs. The SKILL.md describes a decision process for choosing between direct inspection of static HTML and a reconnaissance-then-action approach for dynamic apps that requires waiting for the page to settle before inspecting it. A bundled helper script handles starting and coordinating one or more local development servers so the automation script itself only needs to contain Playwright logic. Example scripts are also referenced for common patterns such as discovering page elements, automating static HTML files, and logging console output.

What you can do with webapp-testing

  • Write Playwright automation scripts to interact with a locally running web application
  • Use a bundled helper script to launch and manage one or more local dev servers before testing
  • Follow a decision tree to choose between static HTML inspection and dynamic reconnaissance-then-action testing
  • Wait for the page to reach a stable (networkidle) state before inspecting the DOM
  • Capture full-page screenshots and list page elements such as buttons and inputs to identify selectors
  • Record browser console logs during automated test runs
  • Reference example scripts covering element discovery, static HTML automation, and console logging

Sources

Back to list