基于 Playwright 与本地 Web 应用交互和测试,可验证前端功能、调试界面行为、截取浏览器截图并查看日志。
安装
npx skills add anthropics/skills --skill webapp-testingnpx skills add anthropics/skills --skill webapp-testing -a claude-code -gnpx skills add anthropics/skills --skill webapp-testing -a codex -ggemini skills install https://github.com/anthropics/skills.git --path skills/webapp-testinggh skill install anthropics/skills webapp-testinggit clone --depth 1 https://github.com/anthropics/skills /tmp/anthropics__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/anthropics__skills/skills/webapp-testing ~/.claude/skills/webapp-testing # Claude Code
cp -R /tmp/anthropics__skills/skills/webapp-testing ~/.agents/skills/webapp-testing # Codex, Cursor, Gemini CLI, Copilot, OpenCode试试这个任务
检查这个本地应用的登录和搜索流程,按真实用户步骤执行,记录预期与实际结果,并为失败项提供截图和复现步骤。
- 准备材料
- 可运行的网址、测试账号、预期行为与测试范围。
- 检查结果
- 确认测试针对当前版本,失败项可以重现,未执行的检查单独列出。