webapp-testing

Automate testing of local web applications using Python Playwright scripts.

1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Cramer-69/skills-repository-3af2d1c7 --skill webapp-testing-cramer-69
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: webapp-testing
Source: https://github.com/Cramer-69/skills-repository-3af2d1c7/tree/main/packages/claude/skills/webapp-testing
Command: npx skills add https://github.com/Cramer-69/skills-repository-3af2d1c7 --skill webapp-testing-cramer-69

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Testing local web applications manually is slow and error-prone, especially when verifying frontend behavior, debugging UI issues, or capturing browser state. This Skill provides a structured toolkit for writing Playwright automation scripts that interact with running web apps, manage server lifecycles, and capture screenshots and console logs. ## Core Features & Use Cases - Server Lifecycle Management: The with_server.py helper starts one or more servers (e.g., backend plus frontend), waits for readiness, runs your automation, and cleans up automatically. - Reconnaissance-Then-Action Pattern: Inspect the rendered DOM after networkidle, identify selectors from the live page, then execute actions with discovered selectors. - Example Scripts: Ready-made patterns for element discovery, static HTML automation via file:// URLs, and console log capture. - Use Case: You are debugging a React frontend on port 5173. Use the helper to start the dev server, run a Playwright script that waits for network idle, screenshots the page, and clicks through the dashboard to verify rendering. ## Quick Start Ask the AI to test your local web app by starting the dev server with the with_server.py helper and writing a Playwright script that navigates to the page, waits for networkidle, and captures a screenshot.

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 script using sync_playwright, launch Chromium in headless mode, navigate to your localhost URL, and wait for the networkidle load state before interacting. Use the with_server.py helper to start your dev server automatically before the script runs.

How to run Playwright tests when the dev server is not running?▼

Use the with_server.py helper script with --server and --port flags to start your server, wait for the port to respond, then execute your automation command. It supports multiple servers, such as a backend on port 3000 and a frontend on port 5173, and cleans up afterward.

Why does Playwright find no elements on a dynamic webapp page?▼

Inspecting the DOM before JavaScript finishes executing returns incomplete results. Always call page.wait_for_load_state('networkidle') after navigation on dynamic apps before taking screenshots or querying selectors.

Can Playwright automate static HTML files without a server?▼

Yes, Playwright can open local HTML files directly using file:// URLs built from the absolute file path. You can then click elements, fill forms, and capture screenshots without running any web server.

How do I capture browser console logs during Playwright automation?▼

Register a handler with page.on('console', handler) before navigating to the page. Each console message is passed to your callback, where you can collect or print the message type and text, then save them to a log file.