AGENT SKILL

webapp-testing

Test local web applications with Playwright scripts, browser inspection, screenshots, and console logging. Use for frontend verification or UI debugging when a local app and Playwright are already available.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 1
Forks
0

01 前言 Front Matter

name
webapp-testing
license
Complete terms in LICENSE.txt
description
Test local web applications with Playwright scripts, browser inspection, screenshots, and console logging. Use for frontend verification or UI debugging when a local app and Playwright are already available.

02 资源文件 6

03 SKILL.md 正文

Web Application Testing

Test local web applications with native Python Playwright scripts. This skill ships a server-lifecycle helper and examples; it does not install Playwright, browsers, or application dependencies.

Prerequisites and Boundaries

  • Python, Playwright, browser binaries, and any local application dependencies must already be available in the user-approved environment.
  • Do not start services, launch a browser, or install dependencies without the authorization required by the user and repository.
  • The bundled helper manages one or more local servers. Treat it as a black box: run python scripts/with_server.py --help before use, and read or modify its source only when customization is required.
  • The helper and examples are distributed under Apache License 2.0.

Choose an Approach

  1. Static HTML: inspect the local HTML to find selectors, then use a file:// URL in a Playwright script. See static_html_automation.py.
  2. Dynamic app with no server: inspect the helper’s --help output, then use it to start the approved server command before the test script.
  3. Dynamic app with a running server: navigate, wait for networkidle, capture a screenshot or inspect rendered DOM, discover selectors, then perform actions.

Run an Automation Script

Run the helper from this skill directory after inspecting its help:

python scripts/with_server.py --server "npm run dev" --port 5173 -- python automation.py

For each dynamic-page action, wait for the application to reach the required rendered state before inspecting or selecting elements. Use semantic selectors where possible, close the browser in all paths, and save screenshots or logs to a user-approved local output location.

Bundled Examples

Validate Deliberately

Use reconnaissance before actions when selectors are uncertain. A successful automation run should prove the intended visible behavior, not merely that the page loaded. Report the script, target URL or file, assertions, generated artifacts, and any environment prerequisite that prevented execution.

04 同仓库更多 Skills

JanMichaelSE
JanMichaelSE/agentic-marketplace

ui-ux-pro-max

UI/UX design intelligence for web and mobile. Local database with 79 searchable styles (88 catalog entries), 192 color palettes, 74 font pairings, 192 product types, 119 UX guidelines, 105 curated icon entries, 17 GSAP motion presets, and 25 chart types across 22 stacks (React, Next.js, Vue, Nuxt, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, JavaFX, WPF, WinUI, Avalonia, Uno Platform, UWP, Three.js, and HTML/CSS). Use when designing, building, or reviewing UI: pages, components, color schemes, typography, layout, accessibility, animation, or data visualization.

★ 1
JanMichaelSE
JanMichaelSE/agentic-marketplace

figma-mcp

Implement or compare UI against Figma designs using an available Figma MCP integration. Use for Figma-backed implementation, design-token extraction, or visual-parity gap analysis; Figma MCP access is optional and must already be configured by the user.

★ 1
JanMichaelSE
JanMichaelSE/agentic-marketplace

improve-codebase-architecture

Find evidence-based, active-change architecture improvements using shared design and domain-modeling guidance. Use when a user wants to reduce architectural friction, deepen a module, or make a current change safer, more testable, and easier to navigate.

★ 1
JanMichaelSE
JanMichaelSE/agentic-marketplace

domain-modeling

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing GLOSSARY.md or CONTEXT.md, or recording or editing an ADR.

★ 1
JanMichaelSE
JanMichaelSE/agentic-marketplace

codebase-design

Provide the shared vocabulary and discipline for designing deep modules with clear interfaces and seams. Use when a user wants to design or improve a module, find deepening opportunities, choose a seam, or make code more testable and AI-navigable.

★ 1
JanMichaelSE
JanMichaelSE/agentic-marketplace

test-coverage-review

MUST invoke to review whether added or updated tests cover code changes in a diff. Checks new logic, branches, error paths, and regression risk, producing a change-to-test matrix. Use requirements-to-tests-traceability for acceptance-criteria mapping and orchestrated-review for bundled reviews.

★ 1