webapp-testing

Automate Playwright-based testing of local web applications with server orchestration.

Updated Aug 22, 2025
One-click install
npx skills add https://github.com/cdub615/dotfiles --skill webapp-testing-cdub615
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webapp-testing
Source: https://github.com/cdub615/dotfiles/tree/main/opencode/.config/opencode/skill/webapp-testing
Command: npx skills add https://github.com/cdub615/dotfiles --skill webapp-testing-cdub615

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill reduces the manual overhead of validating local web applications during development by providing a reusable Playwright-based automation framework and patterns.

Core Features & Use Cases

  • Playwright-based automation for local web apps to verify frontend functionality, capture screenshots, and inspect browser logs.
  • Server orchestration with the included with_server.py helper to manage one or more development servers during tests.
  • Practical examples demonstrating common patterns like console log capture, element discovery, and static HTML automation.

Quick Start

Install Python 3.x, then run a sample workflow using the included helpers and examples, e.g., start a server with python scripts/with_server.py --server "npm run dev" --port 5173 -- python examples/console_logging.py

Frequently Asked Questions about webapp-testing

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

FAQPage Schema
How do I automate local web app testing with Playwright?

Capture browser console logs during Playwright automation by running example scripts that interact with web pages and record console output. The framework provides specific patterns to intercept and log browser console messages for debugging frontend interactions.

How do I manage development servers during Playwright test automation?

Manage development servers during Playwright test automation using the with_server.py helper script. It orchestrates one or more local servers by binding to specified ports, allowing your tests to run against active local web applications deterministically.

Do I need Python to run Playwright tests for local web applications?

Automate static HTML testing with Playwright by applying the provided example patterns for element discovery and page interaction. The framework allows you to script deterministic UI tests against static HTML files without requiring complex server setups.

What is the best way to verify frontend functionality in a local development environment?

The best way to verify frontend functionality in local development is using a Playwright-based automation framework. It reduces manual overhead by validating UI behavior, capturing screenshots, and managing local server orchestration for rapid feedback.

Can I run deterministic UI tests against multiple local development servers?

Yes, you can run deterministic UI tests against multiple local development servers. The with_server.py helper handles server orchestration, allowing you to specify and manage multiple server processes and ports simultaneously during your testing workflow.