Xpersona
B

Browser QA

CLAWHUB · Unverified

Automate visual testing and UI interaction verification. 4-phase methodology: smoke test (console errors, network status, Web Vitals), interaction test (form... Skill: Browser QA Owner: djc00p Summary: Automate visual testing and UI interaction verification. 4-phase methodology: smoke test (console errors, network status, Web Vitals), interaction test (form... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-06T02:12:02.929Z | user Fix: replace bare code blocks with text 1. Navigate to target URL 2. Check for console errors (filter analytics noise) 3. Verify no 4xx/5xx i

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17akx17qd32yxnr1065qq0kdd83h2c3:browser-qa
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-djc00p-browser-qa/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

19,207 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: browser-qa
description: "Automate visual testing and UI interaction verification. 4-phase methodology: smoke test (console errors, network status, Web Vitals), interaction test (forms, auth, user journeys), visual regression (breakpoints, dark mode), accessibility audit (WCAG AA, keyboard nav). Trigger phrases: browser test, visual testing, UI verification, QA checklist, pre-ship testing."
metadata: {"clawdbot":{"emoji":"🧪","requires":{"bins":[],"env":[]},"os":["linux","darwin","win32"]}}
---

# 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

```text
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 < 2.5s, CLS < 0.1, INP < 200ms
```

### Phase 2: Interaction Test

```text
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

```text
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

```text
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

```text
## 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 co

_meta.json

{
  "ownerId": "kn75k4jwpn9qgy3pk38e93gkt982zqmg",
  "slug": "browser-qa",
  "version": "1.0.1",
  "publishedAt": 1775441522929
}

references/tools.md

# Browser QA — Automation Tools

## Tool Options

### claude-in-chrome (Recommended)

Uses your actual Chrome instance for testing:

- **Pros**: Real user conditions, all Chrome features, native performance
- **Cons**: Requires Chrome installed locally
- **Use when**: Testing complex UI with real browser state

### Playwright

Cross-browser testing (Chromium, Firefox, Safari):

- **Pros**: Cross-browser, headless capability, good API
- **Cons**: Separate test runner, slower than in-process
- **Use when**: Need multi-browser coverage

### Puppeteer

Chrome/Chromium-specific automation:

- **Pros**: Fast, simple API, good for screenshots
- **Cons**: Chrome-only, less rich than Playwright
- **Use when**: Quick smoke tests, screenshots

## Tool Comparison

| Tool | Setup | Speed | Multi-Browser | Screenshots |
|------|-------|-------|---------------|-------------|
| claude-in-chrome | Easy (existing Chrome) | Fast | No | Excellent |
| Playwright | Medium | Slow | Yes | Good |
| Puppeteer | Easy | Fast | No | Good |

## Example: Smoke Test with Playwright

```typescript
import { chromium } from 'playwright';

const browser = await chromium.launch();
const page = await browser.newPage();

// Capture console errors
const errors = [];
page.on('console', msg => {
  if (msg.type() === 'error') errors.push(msg.text());
});

// Navigate and check metrics
await page.goto('https://example.com');
const vitals = await page.evaluate(() => {
  const paint = performance.getEntriesByType('paint');
  return { paint };
});

// Screenshot
await page.screenshot({ path: 'smoke-test.png' });

console.log('Errors:', errors);
console.log('Web Vitals:', vitals);
```

## Running QA in CI

Most effective in staging environment:

```bash
# After deploy to staging
npm run qa:browser -- --url https://staging.example.com

# Generates report and artifacts
# Upload report to PR review
```

references/wcag.md

# WCAG AA Accessibility Checklist

## Critical Violations (Must Fix)

### Contrast

- Text contrast ratio ≥ 4.5:1 for normal text
- Text contrast ratio ≥ 3:1 for large text (18pt+)
- Use tools: axe-core, WAVE, WebAIM contrast checker

### Images & Icons

- All `<img>` must have descriptive `alt` text
- Decorative images: `alt=""`
- Icon buttons: must have aria-label or text
- Logos: describe the brand/page

### Form Labels

- Every input must have associated `<label>`
- Use `htmlFor` attribute linking to input `id`
- Error messages linked to input via `aria-describedby`

### Keyboard Navigation

- All interactive elements keyboard accessible (Tab key)
- Tab order logical (top-to-bottom, left-to-right)
- No keyboard trap (user can tab out)
- No reliance on mouse-only interactions

### Semantic HTML

- Use proper heading hierarchy (`<h1>` → `<h2>` → `<h3>`)
- Use `<button>` for buttons, not `<div onclick>`
- Use `<nav>`, `<main>`, `<article>`, `<footer>` landmarks
- Links must have text content (visible or aria-label)

## Common Violations

| Issue | Fix |
|-------|-----|
| Missing alt text on images | Add descriptive alt: `<img alt="Product photo">` |
| Color-only communication | Add text label or icon: "✓ Required" not just green |
| Insufficient contrast | Use contrast checker, aim for 4.5:1 ratio |
| Missing focus indicator | Add `:focus { outline: 2px solid #0066cc }` |
| Click-only interactions | Add keyboard handler: `onKeyDown={(e) => e.key === 'Enter' && action()}` |
| Form errors without labels | Link error via aria-describedby |
| Decorative elements announced | Use `aria-hidden="true"` on decorative icons |
| No landmarks | Add `<nav>`, `<main>`, `<footer>` |

## Testing Procedure

### Automated (axe-core)

```bash
npm install --save-dev @axe-core/react
# Reports WCAG violations in browser console
```

### Manual Checklist

1. Disable CSS — content still readable, semantic
2. Keyboard-only navigation — can use entire site with Tab + Enter
3. Screen reader (NVDA, JAWS, VoiceOver) — all content announced, landmarks clear
4. Dark mode test — contrast still sufficient
5. 200% zoom — no overlap, layout reflows properly

## WCAG AA (Web Content Accessibility Guidelines Level AA)

Target level for most public websites. Covers:

- Perceivable: content readable by all (color, text size, contrast)
- Operable: keyboard, touch, no seizure hazards
- Understandable: clear language, predictable, error prevention
- Robust: compatible with assistive technology

**Common target:** WCAG AA 2.1 is industry standard. Most violations are contrast, labels, and keyboard navigation.

skill-card.md

## Description:

Automate visual testing and UI interaction verification with a four-phase methodology covering smoke tests, interaction tests, visual regression, and WCAG AA accessibility audits.

This skill is ready for commercial/non-commercial use.

## Publisher:

[djc00p](https://clawhub.ai/user/djc00p)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and QA engineers use this skill to run structured browser checks before release, including console and network smoke tests, forms and auth flows, responsive screenshots, and accessibility checks.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Browser interaction testing can submit forms, create accounts, or exercise checkout flows on live sites.

Mitigation: Use staging or sandbox URLs, test accounts, and test payment data; require explicit approval before submitting forms, creating accounts, or completing checkout on production.

Risk: Automated accessibility scans can miss keyboard, screen reader, zoom, and semantic HTML issues.

Mitigation: Pair axe-core or similar automated checks with manual keyboard navigation, screen reader landmark checks, and 200% zoom review.

Risk: Browser automation results depend on the chosen runtime and available local browser support.

Mitigation: Select the browser tool that matches the target coverage, and document any dependency such as Chrome, Playwright, or Puppeteer before relying on results.

## Reference(s):

- [Browser QA - Automation Tools](references/tools.md)
- [WCAG AA Accessibility Checklist](references/wcag.md)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, guidance]

**Output Format:** [Markdown QA report with optional code and shell command snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include screenshot and test artifact guidance when browser automation is used.]

## Skill Version(s):

1.0.1 (source: release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Browser QA and adjacent AI workflows.