webapp-testing

仓库创建 2025年10月17日最近提交 3 天前SkillHot 收录 21 天前
▸ 精选理由

便于回归测试与 UI 调试,支持本地服务器管理

▸ 风险提示

会在本机启动浏览器与服务器,可能执行任意脚本

这个 Skill 做什么

用 Playwright 脚本自动化测试本地 Web 应用并截屏日志。

用 Playwright 脚本驱动本地 Web 应用,自动验证前端功能、重现 UI 问题、截屏并收集浏览器日志,支持本地服务的启动与管理。常在调试页面交互、回归测试或需要可视化证据时用到,下本地跑脚本就能看效果。优点是能复现真实浏览器行为并产出截图和日志方便排查。

▸ 展开 SKILL.md 英文原文

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.

开发编程Playwright前端测试自动化测试通用
7.1w
Stars
8.0k
Forks
40
仓库内 Skill
+4.0k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/webapp-testing/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/webapp-testing/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Web Application Testing

To test local web applications, write native Python Playwright scripts.

**Helper Scripts Available**:
- `scripts/with_server.py` - Manages server lifecycle (supports multiple servers)

**Always run scripts with `--help` first** to see usage. DO NOT read the source until you try running the script first and find that a customized solution is abslutely necessary. These scripts can be very large and thus pollute your context window. They exist to be called directly as black-box scripts rather than ingested into your context window.

## Decision Tree: Choosing Your Approach

```
User task → Is it static HTML?
    ├─ Yes → Read HTML file directly to identify selectors
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有