browser-qa
它能做什么
这项技能让 AI 在内置浏览器中重现网页问题,并把真正的缺陷与等待或定位错误区分开来。适合测试人员以及需要确认网站能否正常运行的人。
适用场景
- ✓当你希望在某次改动后确认网页流程仍然可以正常运行时。
- ✓当页面上的某项功能失败,你需要知道原因时。
- ✓当你需要证据,例如控制台错误或网络请求,来解释一个缺陷的时候。
技能链接
https://github.com/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/browser-qa/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在浏览器中测试注册流程,并准确告诉我是哪一步失败,以及错误信息是什么。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会从一个已知页面开始,用最少的操作重复这些步骤,并等待每一次变化。只有在失败稳定出现之后,它才会收集日志和错误信息,然后报告原因。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Browser QA
Use this skill when the task is browser validation, repro, regression checking, or investigation in the workspace-embedded browser.
Goals
- reproduce the issue with the fewest browser calls possible
- separate product failure from wait or locator failure
- capture only the evidence needed to explain the result
Repro Loop
- State the exact starting page, tab, and account state you are testing.
- Use the cheapest path that can reproduce the behavior.
- After each page-changing step, use explicit waits rather than repeated broad state reads.
- If a step fails, determine whether it is:
- wrong target
- stale target
- missing wait
- auth or session state
- true product behavior
- Capture evidence only after the failure is stable and reproducible.
Tool Discipline
- Prefer
browser_actwithwait_forover separate click then wait loops. - Use
browser_findwhen the target is known but compact state did not include it. - Use
browser_get_state detail=compactfor orientation anddetail=standardonly when compact state is insufficient. - If the page should expose the fact directly, inspect targeted custom-element attributes,
data-*attributes,hrefs, or hydration data with a narrow read-onlybrowser_evaluatebefore treating the fact as unavailable. - Use
browser_get_console,browser_get_errors, andbrowser_list_requestsonly after the cheaper orientation/action path failed or the issue is clearly runtime/network-related. - Use
browser_get_requestonly for one suspect request afterbrowser_list_requestsnarrowed the field. - Use
browser_storage_getandbrowser_cookies_getto inspect auth or state flags before rerunning a long login flow. - Use
browser_storage_setandbrowser_cookies_setonly for controlled state repair, not as a default shortcut.
Evidence Rules
- Capture screenshots only for visual ambiguity, layout issues, or user-visible confirmation.
- Read page text only when the task depends on the content itself.
- Treat page-local DOM evidence as primary evidence when the target page appears to render the needed fact; use third-party proxies or alternate sites only as fallback evidence.
- When a download is involved, prefer
download_startedanddownload_completedwaits plusbrowser_list_downloads. - Preserve the exact failing condition in the final report: target, wait, URL, and observed result.
Final Reporting
- Report whether the behavior reproduced.
- Report the smallest reliable repro path.
- Report whether the failure appears to be locator, timing, session state, or product behavior.
- Include only the minimum evidence needed to justify the conclusion.
常见问题
它也会修复这个缺陷吗?
该技能的设计目标是重现并解释问题,并展示证据。修复是另一个步骤。
它会收集哪些证据?
它可以检查控制台消息、页面错误和网络请求,但只收集解释结果所需的部分。
它如何区分真正的缺陷和页面缓慢?
在判定为产品故障之前,它会先检查目标是否错误、已过时、缺少等待时间,或是否被登录页面拦截。
详情
作者的原始描述
Use when validating or debugging a workflow in the embedded browser and you need a reproducible, evidence-first loop.
repo: holaboss-ai/holaOS
热度
- GitHub 星标
- 11k
- 排名
- #11679
- 许可证
- —
- 更新时间
- 2026/10/28
评论
- …