← 返回 Skills 市场
djc00p

Browser QA

作者 Deonte Cooper · GitHub ↗ · v1.0.1 · MIT-0
linuxdarwinwin32 ✓ 安全检测通过
208
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install browser-qa
功能描述
Automate visual testing and UI interaction verification. 4-phase methodology: smoke test (console errors, network status, Web Vitals), interaction test (form...
使用说明 (SKILL.md)

Browser QA — Automated Visual Testing & Interaction

Structured QA methodology for verifying UI behavior, visual consistency, and accessibility.

Quick Start

  1. Phase 1: Smoke Test — Navigate page, check for console errors, verify Core Web Vitals
  2. Phase 2: Interaction Test — Click links, submit forms, verify user flows (login, checkout)
  3. Phase 3: Visual Regression — Screenshot key pages at 3 breakpoints (375px, 768px, 1440px)
  4. Phase 4: Accessibility — Run axe-core, verify keyboard nav, check screen reader landmarks

Key Concepts

  • Smoke Test: Detects hard-breaking errors before interaction testing wastes time
  • Interaction Test: Verifies critical user journeys (auth, forms, checkout)
  • Visual Regression: Detects layout shifts, missing elements, viewport overflow issues
  • Accessibility: WCAG AA compliance, keyboard navigation, screen reader support

Common Usage

Phase 1: Smoke Test

1. Navigate to target URL
2. Check for console errors (filter analytics noise)
3. Verify no 4xx/5xx in network requests
4. Screenshot above-the-fold (desktop + mobile)
5. Check Core Web Vitals: LCP \x3C 2.5s, CLS \x3C 0.1, INP \x3C 200ms

Phase 2: Interaction Test

1. Click every nav link — verify no dead links
2. Submit forms with valid data — verify success state
3. Submit forms with invalid data — verify error state
4. Test auth flow: login → protected page → logout
5. Test critical journeys: checkout, onboarding, search

Phase 3: Visual Regression

1. Screenshot key pages at 3 breakpoints (375px, 768px, 1440px)
2. Compare against baseline screenshots (if stored)
3. Flag layout shifts > 5px, missing elements, overflow
4. Check dark mode if applicable

Phase 4: Accessibility

1. Run axe-core on each page
2. Flag WCAG AA violations (contrast, labels, focus order)
3. Verify keyboard navigation works end-to-end
4. Check screen reader landmarks

Output Format

## QA Report — [URL] — [timestamp]

### Smoke Test
- Console errors: 0 critical, 2 warnings (analytics noise)
- Network: all 200/304, no failures
- Core Web Vitals: LCP 1.2s ✓, CLS 0.02 ✓, INP 89ms ✓

### Interactions
- [✓] Nav links: 12/12 working
- [✗] Contact form: missing error state for invalid email
- [✓] Auth flow: login/logout working

### Visual
- [✗] Hero section overflows on 375px viewport
- [✓] Dark mode: all pages consistent

### Accessibility
- 2 AA violations: missing alt text, low contrast footer links

### Verdict: SHIP WITH FIXES (2 issues, 0 blockers)

References

  • references/tools.md — browser automation tools (claude-in-chrome, Playwright, Puppeteer)
  • references/wcag.md — WCAG AA checklist and common violations

Adapted from everything-claude-code by @affaan-m (MIT)

安全使用建议
This is an instruction-only QA methodology and is coherent with its description, but before running it you should: (1) ensure you have the required tooling (Playwright/Puppeteer/axe-core or an appropriate browser automation setup) installed in a controlled environment; (2) avoid running tests against production with your real Chrome profile — use a dedicated test profile or a headless browser to prevent accidental access to cookies/session data; (3) provide only test/staging credentials (never leak real user credentials) if you need to validate auth flows; (4) review any npm packages the agent suggests installing yourself before executing installs; and (5) if you plan to allow autonomous runs, accept that automation using your local browser may touch local data — prefer isolated CI/staging environments for sensitive sites.
功能分析
Type: OpenClaw Skill Name: browser-qa Version: 1.0.1 The browser-qa skill bundle is a legitimate tool designed for automated UI testing, visual regression, and accessibility audits. The instructions in SKILL.md and the documentation in references/tools.md and references/wcag.md provide a standard QA methodology using tools like Playwright and Puppeteer without any evidence of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
The name and description (automated visual testing, interaction checks, accessibility) match the SKILL.md and reference docs. However, the skill references tooling (Playwright, Puppeteer, axe-core, and 'claude-in-chrome') and includes example code/snippets that imply Node/npm usage and a local Chrome instance, yet the registry metadata declares no required binaries, packages, or env vars. This mismatch is explainable for an instruction-only guide but worth noting: the skill will realistically need browser automation tooling present.
Instruction Scope
Instructions stay within QA scope (navigate pages, capture console/network, take screenshots, run axe-core, test auth flows). They do not instruct reading arbitrary files or contacting unknown endpoints. One important scope consideration: the guidance recommends using a real Chrome instance ('claude-in-chrome') and testing auth flows; that can access local browser profile, cookies, and authenticated sessions if used — a privacy/attack surface consideration even though it is coherent with testing authenticated journeys.
Install Mechanism
There is no install spec and no code files to run; the skill is instruction-only. This is the lowest install risk. References include example npm commands (e.g., installing @axe-core/react) and Playwright example code, which implies the operator will install packages themselves; that is expected for an instructions-only QA guide.
Credentials
The skill requests no environment variables or credentials. Practically, many of the suggested tests (auth flow, staging tests) require test credentials or access to a staging environment; those are not requested by the skill. Also, using the user's local Chrome for tests can expose cookies or other session data — the skill does not request them explicitly, but the operational guidance implies access to sensitive local browser state. This is a proportionality note, not a direct contradiction.
Persistence & Privilege
The skill does not request persistent presence (always:false) and does not claim to modify other agent configurations. It is user-invocable and can be run autonomously per platform defaults; nothing in the package requests elevated privileges or persistent/system-wide changes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install browser-qa
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /browser-qa 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Fix: replace bare code blocks with ```text for consistent rendering
v1.0.0
Initial release. 4-phase browser QA methodology with accessibility testing. Adapted from everything-claude-code by @affaan-m (MIT)
元数据
Slug browser-qa
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Browser QA 是什么?

Automate visual testing and UI interaction verification. 4-phase methodology: smoke test (console errors, network status, Web Vitals), interaction test (form... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 208 次。

如何安装 Browser QA?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install browser-qa」即可一键安装,无需额外配置。

Browser QA 是免费的吗?

是的,Browser QA 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Browser QA 支持哪些平台?

Browser QA 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 Browser QA?

由 Deonte Cooper(@djc00p)开发并维护,当前版本 v1.0.1。

💬 留言讨论