Catalog
affaan-m/browser-qa

affaan-m

browser-qa

Use this skill to automate visual testing and UI interaction verification using browser automation after deploying features.

global
origin:ECC
New~903
v1.2Saved Jul 14, 2026

Browser QA — Automated Visual Testing & Interaction

When to Use

  • After deploying a feature to staging/preview
  • When you need to verify UI behavior across pages
  • Before shipping — confirm layouts, forms, interactions actually work
  • When reviewing PRs that touch frontend code
  • Accessibility audits and responsive testing

How It Works

Uses the browser automation MCP (claude-in-chrome, Playwright, or Puppeteer) to interact with live pages like a real user.

Safety first — blast radius (run read-only by default)

Browser QA drives real auth and real user journeys, so treat the blast radius explicitly. Default to read-only: never run a mutating journey (checkout, payment, delete, mass-update) against a production URL — require an explicit opt-in and a staging/preview URL. Use seeded test credentials, never real production logins, and redact credentials/tokens/PII before saving any screenshot.

Phase 1: Smoke Test

1. Navigate to target URL
2. Check for console errors (filter noise: analytics, third-party)
3. Verify no 4xx/5xx in network requests
4. Screenshot above-the-fold on desktop + mobile viewport
5. Check Core Web Vitals: LCP < 2.5s, CLS < 0.1, INP < 200ms
   (INP replaced FID in March 2024; thresholds per web.dev)

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 (test creds only, never prod)
5. Test critical user journeys (checkout, onboarding, search)
   — read-only by default; only exercise mutating journeys against staging
     with explicit opt-in (see "Safety first" above)

Phase 3: Visual Regression

1. Screenshot key pages at 3 breakpoints (375px, 768px, 1440px)
2. Compare against committed baseline screenshots
   — no baseline ⇒ report INCONCLUSIVE, never a silent PASS
3. Flag layout shifts > 5px, missing elements, overflow
4. Check dark mode if applicable

Phase 4: Accessibility

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

Note: axe-core automatically covers roughly 30–40% of WCAG. A clean run is necessary, not sufficient — keyboard nav, focus order, and a screen-reader pass still need a manual check. Don't report "accessible" from an automated pass alone.

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 on hero image, low contrast on footer links

### Verdict: SHIP WITH FIXES (2 issues, 0 blockers)
# verdict ∈ SHIP / SHIP WITH FIXES / DO NOT SHIP; use INCONCLUSIVE if no visual baseline

Integration

Works with any browser MCP:

  • mChild__claude-in-chrome__* tools (preferred — uses your actual Chrome)
  • Playwright via mcp__browserbase__*
  • Direct Puppeteer scripts

Pair with /canary-watch for post-deploy monitoring.

Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

82/100

Grade

B

Good

Safety

85

Quality

83

Clarity

85

Completeness

74

Summary

A structured QA automation skill that guides agents to perform visual testing, interaction verification, and accessibility audits on deployed web applications using browser automation tools (Claude-in-Chrome, Playwright, Puppeteer). The skill emphasizes safety guardrails—defaulting to read-only operations, requiring explicit staging URLs for mutations, and mandating credential redaction in outputs.

Detected Capabilities

browser automationpage navigation and screenshot captureform submission and interactionconsole and network error monitoringvisual regression testingaccessibility scanning (axe-core)keyboard navigation testingauth flow validation

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

post-deploy qa testingvisual regression testingaccessibility auditform interaction testingstaging environment validationbrowser automation testingwcag compliance check

Risk Signals

WARNING

Browser automation operates against live deployed URLs including staging/production environments

Safety first section, Phase 2: Interaction Test
INFO

Skill requires handling of test credentials during auth flow validation—guidance exists to never use production logins

Phase 2: Interaction Test
WARNING

Screenshots may contain sensitive data (PII, tokens); skill explicitly requires redaction before saving

Safety first section
INFO

Mutating operations (checkout, payment, delete) explicitly gated behind opt-in flag and staging URL requirement

Safety first section, Phase 2

Use Cases

  • Verify UI layouts and interactions after feature deployment to staging/preview environments
  • Validate form submissions, error states, and authentication flows across pages
  • Perform visual regression testing against committed baseline screenshots at multiple breakpoints
  • Audit WCAG 2.2 AA accessibility compliance and keyboard navigation
  • Review frontend changes in PRs by running automated smoke tests and interaction checks
  • Monitor Core Web Vitals (LCP, CLS, INP) during post-deploy validation

Quality Notes

  • Strong safety-first design: read-only default, explicit opt-in for mutations, staging URL enforcement, credential redaction requirements
  • Clear phase structure (Smoke → Interaction → Visual → Accessibility) provides logical flow for agent execution
  • Concrete acceptance criteria for each phase (e.g., LCP < 2.5s, no 4xx/5xx) enables objective pass/fail decisions
  • Excellent documentation of limitations: visual regression requires baseline (never silent pass), axe-core covers only 30–40% of WCAG (manual verification still needed)
  • Output format example is specific and actionable, with verdict categories (SHIP/SHIP WITH FIXES/DO NOT SHIP/INCONCLUSIVE)
  • Good guidance on tool compatibility (Claude-in-Chrome, Playwright, Puppeteer) and integration points
  • Console error filtering guidance prevents false positives from analytics/third-party services
  • Skill appropriately flags that automated accessibility testing is necessary but not sufficient for compliance
Model: claude-haiku-4-5-20251001Analyzed: Jul 14, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

v1.2

Content updated

2026-07-14

Latest
v1.1

Content updated

2026-04-20

v1.0

No changelog

2026-04-12

Use affaan-m/browser-qa in your dev environment

Command Palette

Search for a command to run...