Skills DirectoryCurated open-source Skills from GitHub

webapp-testingcommit b9e19e6SKILL.md · Testing & Debugging

Web App Testing

Tests local web applications with native Python Playwright scripts, capturing screenshots and browser logs, with a helper that manages servers.

npx skills add anthropics/skills --skill webapp-testing
Permissions
  • read-repo
  • write-files
  • shell
  • network
Compatible with
Claude Code
GitHub
186.0k
Source
Official · Anthropic
Status
Scan passed
License
Apache-2.0

Core rule

On dynamic apps, always wait for networkidle before inspecting the DOM.

Execution Phases

  1. Phase 01Choose the approach

    For static HTML, read the file to find selectors; for a dynamic app, check whether the server is already running.

  2. Phase 02Start the servers

    Run scripts/with_server.py --help first, then use it to start one or more servers around the automation script.

  3. Phase 03Reconnaissance

    Navigate, wait for networkidle, then take a screenshot or inspect the rendered DOM to identify selectors.

  4. Phase 04Act

    Run actions with the discovered selectors in headless Chromium, capture console logs if needed, and close the browser.

Permissions (summarised from SKILL.md)

CapabilityNeededDetails
File writesRequiredWrites Playwright automation scripts and saves screenshots locally.
Command executionLimitedRuns Python Playwright scripts and starts local servers with with_server.py.
Network outboundNot requiredOnly targets locally running apps (localhost or file://), with no external network access.

SKILL.md frontmatter (YAML)

SKILL.md frontmatter (YAML)commit b9e19e6
---
name: webapp-testing
description: 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.
license: Complete terms in LICENSE.txt
---

Related skills

A rule scan cannot catch every risk. Read this skill's SKILL.md and check its permissions before installing.