webapp-testinglisted
Install: claude install-skill bloody2634/claud-skills
# 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.
---
## 🎨 **VISUAL OUTPUT FORMATTING**
**CRITICAL: All webapp-testing output MUST use the colored-output formatter skill!**
```bash
bash .claude/skills/colored-output/color.sh skill-header "webapp-testing" "Testing web application..."
bash .claude/skills/colored-output/color.sh progress "" "Running Playwright tests"
bash .claude/skills/colored-output/color.sh success "" "All tests passed"
```
---
## 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.