
ui-test-puppeteer
Use this skill when you need to design Puppeteer automation for Chromium-driven checks, screenshots, PDFs, network interception, and CDP use cases; triggers include Puppeteer UI testing, UI automation testing, and ui-test-puppeteer.
- Installs
- 57
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/naodeng/awesome-qa-skills --skill ui-test-puppeteer- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads ui-test-puppeteer automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Puppeteer UI 自动化测试
English version: see the matching English skill.
何时使用
- 需要输出面向 Puppeteer UI 自动化测试工作流的测试方案或自动化设计。
- 项目已经使用相关工具,或希望得到可直接落地的工具专项方案。
输出格式选项
默认使用 Markdown。除非请求明确要求其他格式,不额外扩展输出格式。
如何使用
- 打开
prompts/ui-test-puppeteer.md,将其作为主提示词。 - 补充真实项目上下文:范围、环境、约束、风险、依赖和期望交付物。
- 如果输入不完整,先返回可用的第一版,并标出缺失信息和假设。
参考文件
-
校准领域结果、正确对照或证据缺口时,读取 references/domain-decision-example.md 的脱敏输入、逐项预期与复算依据。
-
prompts/ui-test-puppeteer.md:本技能主提示词。 -
references/framework-spec.md:工具专项结构和覆盖说明。 -
references/setup-and-ci.md:安装、执行和 CI 说明。 -
examples/sample-context.md:示例请求上下文。 -
scripts/run-tests.sh:轻量本地执行入口。
领域执行要点
- 读取实际Puppeteer/Node/browser与launch配置/支持范围;版本或browser不兼容单列CONFIG_ERROR,不能把launch成功当所有功能兼容。
- 新窗口从目标创建事件/关联opener定位并等待可用page,检查目标URI与权限;导航等待与业务就绪分开,以页面真实状态作oracle,固定sleep无此证据。
- try/finally关闭新旧page及自建browser,保留超时/加载失败原异常;主错误与cleanup错误分别记录,不能吞异常后返回成功。
- 最小fixture包含正常支付、wrong state、新窗口、加载失败与超时;核对业务状态/主体及截图/URL/日志/版本,不把文件生成或HTTP加载成功升级为业务通过。
常见误区
- 不要在范围模糊且缺少上下文时直接给泛泛方案。
- 不要把所有模块和场景视为同等重要。
- 不要跳过假设和缺失信息说明。
最佳实践
-
从 prompt 文件开始,只补充真正影响结果的上下文。
-
输出保持风险驱动,并能直接用于执行或评审。
-
信息不完整时,先给可用版本,再标清缺口。
-
验证生成资产的业务断言、失败传播或隔离时,读取 evals/fixtures/checkout-app/README.md,使用本地good/bug/timeout对照;仅在明确运行时执行。
FAQ
What does the ui-test-puppeteer skill do?
Use this skill when you need to design Puppeteer automation for Chromium-driven checks, screenshots, PDFs, network interception, and CDP use cases; triggers include Puppeteer UI testing, UI automation testing, and ui-test-puppeteer.
How do I install ui-test-puppeteer?
Run npx skills add https://github.com/naodeng/awesome-qa-skills --skill ui-test-puppeteer in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ui-test-puppeteer/ (personal) or .claude/skills/ui-test-puppeteer/ (project).
Which AI agents can use ui-test-puppeteer?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is ui-test-puppeteer safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains ui-test-puppeteer?
It is published by naodeng in naodeng/awesome-qa-skills. It has 57 recorded installs.
More from naodeng/awesome-qa-skills
test-case-writing
naodeng/awesome-qa-skills
Use this skill when you need to create high-quality test cases with normal, exception, and boundary scenarios; triggers include 测试用例编写 and test case writing.
requirements-analysis
naodeng/awesome-qa-skills
Use this skill when you need to analyze requirements, identify test points, boundaries, dependencies, and risks before test design; triggers include requirements analysis and test point analysis.
test-case-reviewer
naodeng/awesome-qa-skills
Use this skill when you need to review test cases for completeness, clarity, maintainability, and missing scenarios; triggers include test case review and test case QA.
functional-testing
naodeng/awesome-qa-skills
Use this skill when you need to design functional test plans or cases for business flows, UI, data, and integrations; triggers include functional testing and functional test cases.
test-reporting
naodeng/awesome-qa-skills
Use this skill when you need to generate test reports with summary, metrics, defect analysis, and risk assessment; triggers include test reporting and QA status report.
testcase-writer-plus
naodeng/awesome-qa-skills
Use this skill when you need high-quality test cases from requirements and analysis artifacts; triggers include testcase writer plus and advanced test case writing.
Popular testing & qa skills
tdd
mattpocock/skills
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
grilling
mattpocock/skills
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
migrate-to-shoehorn
mattpocock/skills
Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.
run-train
lllllllama/rigorpilot-skills
Rigor Train skill for deep learning research repositories. Use when a documented or selected training command should be run conservatively for startup verification, short-run verification, full kickoff, or resume, with command, config, seed, log, checkpoint, status, and metric evidence written to standardized trainoutputs/. Do not use for environment setup, exploratory sweeps, speculative idea implementation, or end-to-end orchestration.
test-driven-development
obra/superpowers
Use when implementing any feature or bugfix, before writing implementation code
finishing-a-development-branch
obra/superpowers
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work