webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
- License 许可
- Apache-2.0
- 最近更新
- 2026-03-20
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- webapp-testing
- tools
- [ "file_read", "file_write", "shell" ]
- author
- Anthropic
- models
- [ "qwen3-coder", "qwen3-32b" ]
- license
- Apache 2.0
- version
- 1.0.0
- triggers
- [ "test webapp", "Playwright", "browser testing", "frontend testing", "web application test" ]
- description
- Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
03 SKILL.md 正文
WebApp Testing
Decision Tree
User task → Is it static HTML?
├─ Yes → Read HTML directly
└─ No → Is server running?
├─ No → Start server
└─ Yes → Reconnaissance → Test
Playwright Example
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
browser = p.chromium.launch(headless=True)
page = browser.new_page()
page.goto('http://localhost:3000')
page.wait_for_load_state('networkidle')
# Take screenshot
page.screenshot(path='inspect.png')
# Find elements
buttons = page.locator('button').all()
browser.close()
Reconnaissance-Then-Action
- Navigate and wait for networkidle
- Take screenshot or inspect DOM
- Identify selectors
- Execute actions
Important Notes
Missing Scripts: scripts/with_server.py and examples/ directory not included. Use Playwright directly as shown above.
Qwen Code Integration
Use /skills webapp-testing to invoke.
04 同仓库更多 Skills
wordpress-pro
Use when developing WordPress themes, plugins, customizing Gutenberg blocks, implementing WooCommerce features, or optimizing WordPress performance and security.
websocket-engineer
Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.
vue-expert
Use when building Vue 3 applications with Composition API, Nuxt 3, or Quasar. Invoke for Pinia, TypeScript, PWA, Capacitor mobile apps, Vite configuration.
vue-expert-js
Use when building Vue 3 applications with JavaScript only (no TypeScript). Invoke for JSDoc typing, vanilla JS composables, .mjs modules.
typescript-pro
Use when building TypeScript applications requiring advanced type systems, generics, or full-stack type safety. Invoke for type guards, utility types, tRPC integration, monorepo setup.
the-fool
Use when challenging ideas, plans, decisions, or proposals using structured critical reasoning. Invoke to play devil's advocate, run a pre-mortem, red team, or audit evidence and assumptions.