Testing de Apps Web con Playwright
Toolkit para interactuar y testear aplicaciones web locales usando Playwright. Verifica funcionalidad frontend, debuggea UI y captura screenshots.
Traducido y adaptado por Stackito. Ver original en ClawHub →
Categoría: skills
Licencia: Apache-2.0
Fuente original: https://github.com/anthropics/skills/tree/main/skills/webapp-testing
Autor: Anthropic
Comando: clawhub install webapp-testing
SKILL.md
---
name: Testing de Apps Web con Playwright
description: Toolkit para interactuar y testear aplicaciones web locales usando Playwright. Verifica funcionalidad frontend, debuggea UI y captura screenshots.
version: 1.0.0
license: Apache-2.0
source: anthropics/skills
author: Anthropic
install: clawhub install webapp-testing
canonical: https://github.com/anthropics/skills/tree/main/skills/webapp-testing
---
# Testing de Apps Web con Playwright
Toolkit para interactuar y testear aplicaciones web locales usando Playwright. Verifica funcionalidad frontend, debuggea UI y captura screenshots.
## Nota de traducción
Esta skill es una traducción y adaptación al castellano del contenido original publicado por Anthropic en [GitHub](https://github.com/anthropics/skills/tree/main/skills/webapp-testing) bajo licencia Apache-2.0.
**Traducido por Stackito** — [Ver original →](https://github.com/anthropics/skills/tree/main/skills/webapp-testing)
## Árbol de decisión
```
¿Es HTML estático?
├─ Sí → Leer HTML directamente para identificar selectores
│ ├─ Éxito → Escribir script Playwright con selectores
│ └─ Falla → Tratar como dinámico
└─ No (webapp dinámica) → ¿El servidor ya está corriendo?
├─ No → Usar with_server.py para gestionar lifecycle
└─ Sí → Reconocimiento y luego acción:
1. Navegar y esperar networkidle
2. Screenshot o inspeccionar DOM
```
## Scripts disponibles
- `scripts/with_server.py` — Gestiona lifecycle del servidor (múltiples servidores)
Siempre ejecutá los scripts con `--help` primero.
## Instalación
```bash
clawhub install webapp-testing
```
Para más skills y herramientas de IA en español, visitá [Stackito](https://stackito.dev).