webapp-testing

Automate browser testing of local web applications using Python Playwright scripts.

2|Updated May 9, 2026
One-click install
npx skills add https://github.com/Manuel-Gartenkrot-Casal/AfterDrive_Intelligence --skill webapp-testing-manuel-gartenkrot-casal
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: webapp-testing
Source: https://github.com/Manuel-Gartenkrot-Casal/AfterDrive_Intelligence/tree/main/.agents/skills/webapp-testing
Command: npx skills add https://github.com/Manuel-Gartenkrot-Casal/AfterDrive_Intelligence --skill webapp-testing-manuel-gartenkrot-casal

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 automates browser interaction with Playwright so you can validate functionality, inspect rendered DOMs, and capture screenshots or console logs programmatically. ## Core Features & Use Cases - Server Lifecycle Management: The bundled with_server.py script starts one or more servers (backend and frontend), waits for them to be ready, runs your automation, and cleans up afterward. - Reconnaissance-Then-Action Workflow: Navigate pages, wait for network idle, inspect the rendered DOM, and then act on discovered selectors for dynamic webapps. - Example Patterns Included: Ready-made examples for element discovery, static HTML automation via file:// URLs, and console log capture. - Use Case: You are developing a React frontend with a Flask backend. Use this Skill to launch both servers, load the page headlessly, click through the dashboard, and save a full-page screenshot plus console logs for debugging. ## Quick Start Ask the AI to test your local web app with Playwright, for example: start my dev server and verify the login button works on localhost:3000.

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 test runs.

How do I run Playwright tests when my app needs multiple servers?▼

Use the with_server.py helper with repeated --server and --port flags for each server, followed by your test command. It starts each server, waits for its port to accept connections, runs your script, then terminates all servers.

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

Dynamic apps render content via JavaScript after initial load, so inspecting the DOM too early returns incomplete results. Always call page.wait_for_load_state('networkidle') before querying selectors or taking screenshots.

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 capture screenshots exactly as with a served page.

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

Register a handler with page.on('console', handler) before navigating, and append each message to a list. After the session, write the collected messages to a log file for debugging.