webapp-testing
仓库创建 2025年10月22日最近提交 14 天前SkillHot 收录 21 天前
▸ 精选理由
适用于前端功能验证与调试,支持自动化测试流程。
▸ 风险提示
运行本地脚本/启动服务器,存在执行风险与权限问题。
这个 Skill 做什么
使用 Playwright 脚本测试本地 Web 应用、截图并采集浏览器日志。
用 Playwright 写脚本在本地跑起你的 Web 应用,自动验证前端功能、截屏并收集浏览器日志,方便调试 UI 行为和回归测试。常在开发阶段、PR 校验或定位页面错位、交互异常时使用。内置 helper 脚本能管理本地服务器生命周期,推荐先用 Python 脚本的 --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.
1.4k
Stars
247
Forks
31
仓库内 Skill
+45
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Prat011/awesome-llm-skills/master/webapp-testing/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Prat011/awesome-llm-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 公开信息 · 原文版权归作者所有