webapp-testing

仓库创建 2026年3月18日最近提交 1 天前SkillHot 收录 5 小时前
▸ 精选理由

便于自动化回归与 UI 调试,节省手工测试工作量。

▸ 风险提示

需运行本地浏览器/服务器并开放端口,有权限要求。

这个 Skill 做什么

使用 Playwright 与脚本测试本地 web 应用,验证功能、截图并查看浏览器日志。

用 Playwright 写脚本来测试本地的 web 应用,能校验前端功能、抓取截图并查看浏览器日志帮你排查 UI 问题。开发或调试本地页面、在 CI 里跑端到端检查时会用到。配套有管理本地 server 生命周期的辅助脚本,建议先用 --help 看用法再动手改源码。

▸ 展开 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.

开发编程测试PlaywrightUI调试截图通用
0
Stars
0
Forks
23
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Await-d/OpenAWork/main/packages/resources/resources/skills/reference/webapp-testing/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Await-d/OpenAWork/main/packages/resources/resources/skills/reference/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 公开信息 · 原文版权归作者所有