webapp-testing

Automates testing of local web applications using Python Playwright scripts.

Updated Jun 14, 2026
One-click install
npx skills add https://github.com/ironkid90-s/lucky5-v7 --skill webapp-testing-ironkid90-s
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webapp-testing
Source: https://github.com/ironkid90-s/lucky5-v7/tree/main/.github/skills/webapp-testing
Command: npx skills add https://github.com/ironkid90-s/lucky5-v7 --skill webapp-testing-ironkid90-s

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve? Manually verifying frontend behavior, debugging UI issues, and capturing browser state for local web applications is repetitive and error-prone. This Skill automates browser interaction so you can test, inspect, and screenshot web apps programmatically. ## Core Features & Use Cases - Playwright Browser Automation: Write native Python Playwright scripts to navigate pages, click elements, fill forms, and capture screenshots. - Server Lifecycle Management: The bundled with_server.py helper starts one or more servers (backend and frontend), waits for readiness, runs your automation, and cleans up. - Reconnaissance Workflow: Inspect rendered DOM after networkidle, discover buttons, links, and inputs, then act on discovered selectors. - Use Case: Start a Vite dev server and a backend API together, then run a Playwright script that logs in, clicks through the dashboard, captures console logs, and saves screenshots for review. ## Quick Start Use the webapp-testing skill to start my local dev server and run a Playwright script that screenshots the homepage and lists all buttons.

Frequently Asked Questions about webapp-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test a local web application with Playwright in Python?

Write a Python script using sync_playwright, launch Chromium in headless mode, navigate to your localhost URL, and wait for networkidle before interacting. Use the with_server.py helper to start your dev server automatically before the script runs.

How do I run Playwright tests against multiple servers at once?

Pass multiple --server and --port flags to with_server.py, one pair per server. It starts each server, waits for its port to accept connections, runs your automation command, then terminates all servers cleanly.

Can Playwright automate static HTML files without a server?

Yes, Playwright can open local HTML files directly using file:// URLs built from absolute paths. You can then click elements, fill forms, and take screenshots exactly as you would against a hosted page.

Why does my Playwright script fail to find elements on a dynamic page?

The script likely inspects the DOM before JavaScript finishes rendering. Call page.wait_for_load_state('networkidle') after navigation, then take a screenshot or dump page content to discover the actual rendered selectors.

How do I capture browser console logs during Playwright automation?

Register a handler with page.on('console', handler) before navigating. Each console message is passed to your callback, where you can print it or append it to a list for saving to a log file afterward.