✓ 测试Testing

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.

安装命令仅为通用示例,请以原仓库说明为准。实测笔记、适用场景和坑点会在实测后补充。Install commands are generic; defer to the source repo. Test notes, use cases and gotchas are added after hands-on testing.

实测笔记Test notes

SKILL.md 合规。with_server.py 启动本地静态服务器,Playwright(Chromium)脚本成功读到页面 h1,结束后自动停掉服务器。注意:如果端口已被其他进程占用,就绪检查仍会通过,但请求拿到的是空响应,所以请选空闲端口。SKILL.md valid. with_server.py started a local server; a Playwright (Chromium) script read the page h1; server stopped cleanly. Note: if the port is already taken, the readiness check still passes but requests get empty responses — use a free port.

用法Usage

# Claude Code
/plugin marketplace add anthropics/skills
# 或手动 / or manually:
git clone https://github.com/anthropics/skills
cp -r skills/skills/webapp-testing ~/.claude/skills/
作者AuthorAnthropic
来源Sourcehttps://github.com/anthropics/skills/tree/main/skills/webapp-testing
验证状态Status实测可用Verified 2026-10-16
类型TypeOfficial · anthropics/skills