Language: 日本語English

webapp-testing Skill

Author
Anthropic
Topics
Code Quality, Review & Testing · Web & App Development
License
Complete terms in LICENSE.txt
First seen
2026-07-09
Last confirmed
2026-07-13
Explanation last updated
2026-07-12

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

This skill (webapp-testing) is a toolkit for testing local web applications by writing native Python Playwright scripts, according to its SKILL.md. It provides a decision tree for choosing between reading static HTML directly versus a reconnaissance-then-action approach for dynamic webapps. A helper script, scripts/with_server.py, manages the lifecycle of one or more local dev servers so scripts don't need to handle that logic themselves. The guide stresses running helper scripts with --help before reading their source, and waiting for 'networkidle' before inspecting the DOM. Bundled example scripts demonstrate element discovery, static HTML automation via file:// URLs, and console log capture.

Overview

This is not a SaaS product but a Claude Agent Skill: a packaged set of instructions, a server-management helper script, and Playwright example scripts for automating and testing local web applications.

What you can do with webapp-testing

  • Write native Python Playwright scripts to interact with and test local web applications
  • Use scripts/with_server.py to start, manage, and stop one or multiple local dev servers automatically
  • Follow the decision tree to choose between static HTML selector discovery and dynamic-app reconnaissance-then-action testing
  • Wait for networkidle and then inspect the rendered DOM (screenshots, page.content(), locators) before identifying selectors
  • Capture full-page screenshots and view browser console logs during automation
  • Reference example scripts (element_discovery.py, static_html_automation.py, console_logging.py) for common patterns

Sources

Original description (English)

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

History of webapp-testing

Back to list