webapp-testing
Test web applications with Playwright automation
Également disponible depuis: Azeem-2,7Spade,7Spade,ZhanlinCui,ArtemisAI,davila7,anthropics,DYAI2025,ComposioHQ,Cam10001110101,AutumnsGrove
Local web application testing requires managing servers and automating browser interactions. This skill provides Playwright scripts and server helpers to streamline frontend testing workflows.
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "webapp-testing". Discover all interactive elements on a login page
Résultat attendu:
- Found 3 input fields: email (type=email), password (type=password), remember (type=checkbox)
- Found 2 buttons: 'Sign In' (submit), 'Forgot Password?' (link)
- Screenshot saved to /tmp/login_page.png showing form layout
Utilisation de "webapp-testing". Test form submission with server running
Résultat attendu:
- Server started on port 3000
- Navigated to http://localhost:3000/login
- Filled email field with 'test@example.com'
- Clicked Sign In button
- Verified navigation to /dashboard
- Server stopped cleanly
Audit de sécurité
SûrStatic analysis detected 42 patterns but all are false positives. LICENSE.txt URLs are standard Apache 2.0 license references. 'Weak cryptographic algorithm' findings incorrectly flagged license text and argparse code. subprocess usage in with_server.py is legitimate for server management. SKILL.md code blocks are documentation examples, not executable code. Skill is safe for publication.
Problèmes à risque faible (1)
Facteurs de risque
⚡ Contient des scripts
⚙️ Commandes externes (2)
📁 Accès au système de fichiers (1)
Score de qualité
Ce que vous pouvez construire
Frontend Developer Testing UI Components
Automate testing of React or Vue components by starting the dev server and verifying UI behavior with Playwright scripts.
Full-Stack Integration Testing
Run backend API server and frontend dev server simultaneously, then execute end-to-end tests against the integrated application.
Visual Regression Detection
Capture screenshots of web application states and compare visually to detect unintended UI changes during development.
Essayez ces prompts
Use the webapp-testing skill to inspect a local HTML file and find all button elements. Navigate to the file, wait for the page to load, then list all buttons with their text content.
Start a React dev server on port 3000 using with_server.py, then write a Playwright script that navigates to the app, clicks the login button, and verifies the dashboard appears.
Use with_server.py to start a Python Flask backend on port 5000 and a Vite frontend on port 5173. Write a test that submits a form on the frontend and verifies the data appears in the backend response.
Navigate to a local webapp, wait for networkidle, capture a full-page screenshot to /tmp/debug.png, and extract the page content HTML. Identify all input fields and their associated labels.
Bonnes pratiques
- Always wait for networkidle state before inspecting dynamic web applications
- Use the with_server.py helper as a black box - run --help first to understand usage
- Capture screenshots before DOM inspection for visual debugging context
Éviter
- Inspecting the DOM before waiting for networkidle on JavaScript-heavy applications
- Reading script source code into context when --help provides sufficient usage information
- Using file:// URLs for dynamic applications that require a running server