Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Browser-based QA combining Chrome MCP control with Python analysis tools. Use when performing browser QA testing, visual regression tracking, WCAG accessibility auditing, performance profiling, or health-scoring web applications.
.claude/skills/borghei-qa-browser-automation/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -38% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 108% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 61% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 22% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 52% | 0% |
The agent drives Chrome MCP for live browser testing and uses four Python tools for deterministic health scoring, accessibility auditing, visual regression tracking, and report generation.
Before the QA sweep, confirm these inputs. If any is unknown or vague, ASK — do not assume:
Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.
bash# Score QA findings (0-100 weighted across 10 categories) python scripts/qa_health_scorer.py findings.json --threshold 85 --baseline .qa-baselines/latest.json --save-baseline --json # Audit HTML for WCAG 2.1 violations python scripts/accessibility_auditor.py page.html --level AA --json # Track visual regressions python scripts/visual_regression_tracker.py --init --baseline-dir ./baselines python scripts/visual_regression_tracker.py --register ./baselines python scripts/visual_regression_tracker.py --baseline ./baselines --current ./screenshots --threshold 5 # Generate full QA report python scripts/test_report_generator.py session_data.json --format markdown -o report.md
| Tool | Input | Output | |------|-------|--------| | qa_health_scorer.py | Findings JSON | Score 0-100, grade A-F, category breakdown, trend data | | accessibility_auditor.py | HTML file (or stdin) | WCAG violations by level with remediation guidance | | visual_regression_tracker.py | Baseline + current screenshot dirs | Pass/fail per page, change percentages | | test_report_generator.py | Session data JSON | Markdown or JSON report with recommendations |
All tools support --json for machine output. Health scorer and regression tracker return exit code 1 on failure (CI-friendly).
Phase 1-2: Pre-flight and authentication.
git status is clean. Abort if dirty..qa-sessions/{timestamp}/Phase 3-4: Orient and explore.
mcp__claude-in-chrome__read_page to build sitemap/page map.read_console_messages for errors, read_network_requests for 4xx/5xx.Phase 5: State testing.
Phase 6: Cross-device and security.
Phase 7-8: Document and score.
python scripts/qa_health_scorer.py findings.json --baseline .qa-baselines/latest.jsonPhase 9: Triage and fix loop.
git revert.Phase 10-11: Regression check and report.
python scripts/test_report_generator.py session.json --save-baselineValidation checkpoint: Health score >= 85. Zero P0 findings. WCAG AA >= 95%.
bash# Set up baseline python scripts/visual_regression_tracker.py --init --baseline-dir ./baselines # Capture and register screenshots python scripts/visual_regression_tracker.py --register ./baselines # After changes, compare python scripts/visual_regression_tracker.py --baseline ./baselines --current ./screenshots --threshold 5 --json # Accept intentional changes python scripts/visual_regression_tracker.py --update-baseline --baseline ./baselines --current ./screenshots
Pages exceeding the threshold (default 5%) are flagged as regressions. Uses SHA-256 hashing and byte-level comparison.
bashpython scripts/accessibility_auditor.py page.html --level AA --json curl -s https://example.com | python scripts/accessibility_auditor.py - --level AAA
What gets checked by level:
Each violation includes: WCAG criterion, severity, element selector, and remediation guidance.
| Tier | Duration | Scope | |------|----------|-------| | Quick | 30s | Console errors, broken links, basic a11y, mobile resize | | Standard | 2-5 min | + Top 10 routes, forms, contrast, Core Web Vitals | | Deep | 10-20 min | + Full sitemap, state testing, WCAG AA, performance, visual regression, security headers | | Exhaustive | 30+ min | + Every element, WCAG AAA, all pages performance, 5 breakpoints, auth edge cases, memory leaks |
10 weighted categories, score 0-100:
| Category | Weight | Measures | |----------|--------|----------| | Functional | 18% | Forms, CRUD, navigation flows | | Accessibility | 13% | WCAG compliance, keyboard nav | | Console Errors | 12% | JS errors, unhandled rejections | | UX Flow | 12% | Logical navigation, clear feedback | | Performance | 12% | Core Web Vitals within thresholds | | Visual Consistency | 10% | Layout shifts, alignment, z-index | | Broken Links | 8% | HTTP 4xx/5xx, dead anchors | | Content Quality | 5% | Spelling, placeholder text, truncation | | Security Headers | 5% | CSP, HSTS, cookie flags | | Mobile Responsive | 5% | Breakpoints, touch targets, no h-scroll |
Severity deductions: P0: -30, P1: -18, P2: -10, P3: -4, P4: -1.
Grades: A (90-100), B (80-89), C (70-79), D (60-69), F (0-59).
git status dirty.fix(qa): [P{severity}] {description}| Problem | Cause | Solution | |---------|-------|----------| | Scorer exits code 1 with no errors | Score below --threshold (default 70) | Check score in output; raise threshold or fix findings | | Auditor reports parse-error | Malformed HTML | Verify file is complete; check curl is not returning redirect | | Regression tracker 100% change on all pages | Baseline manifest empty | Run --init then --register before comparing | | Findings default to P3/functional | Missing severity or category keys | Include both keys in each finding dict | | Chrome MCP returns stale content after SPA nav | DOM updated without full page load | Wait for transition, call read_page again |
| Guide | Path | |-------|------| | Browser Testing Methodology | references/browser_testing_methodology.md | | WCAG Compliance Guide | references/wcag_compliance_guide.md | | Performance Benchmarks | references/performance_benchmarks.md |
| Skill | Integration | |-------|-------------| | code-reviewer | Health score and findings in PR review context | | senior-frontend | Visual regression baselines align with component library | | senior-devops | Health score gates CI/CD via exit code | | senior-secops | Security header findings escalate to security review | | incident-commander | P0 findings trigger incident response |
Last Updated: April 2026 Version: 2.1.0
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 28,187 | 4,550 | -84% | 1 | 1 | 0% | 4,979 | 3,087 | -38% | 0 | 0 | — |
case-02 | fail→fail | 4,011 | 5,688 | +42% | 1 | 1 | 0% | 372 | 2,662 | +616% | 0 | 0 | — |
case-03 | fail→fail | 18,918 | 5,824 | -69% | 1 | 1 | 0% | 3,353 | 2,615 | -22% | 0 | 0 | — |
case-04 | fail→pass | 14,572 | 12,125 | -17% | 1 | 1 | 0% | 2,303 | 4,789 | +108% | 0 | 0 | — |
case-05 | fail→pass | 11,959 | 3,976 | -67% | 1 | 1 | 0% | 1,908 | 3,066 | +61% | 0 | 0 | — |
case-06 | fail→pass | 15,698 | 3,477 | -78% | 1 | 1 | 0% | 2,343 | 2,862 | +22% | 0 | 0 | — |
case-07 | fail→pass | 16,094 | 8,715 | -46% | 1 | 1 | 0% | 2,430 | 3,700 | +52% | 0 | 0 | — |
case-08 | fail→pass | 13,892 | 3,088 | -78% | 1 | 1 | 0% | 2,092 | 2,756 | +32% | 0 | 0 | — |
case-09 | fail→pass | 18,478 | 4,485 | -76% | 1 | 1 | 0% | 2,941 | 2,928 | -0% | 0 | 0 | — |
case-10 | pass→pass | 8,146 | 2,321 | -72% | 1 | 1 | 0% | 1,248 | 2,621 | +110% | 0 | 0 | — |
case-11 | pass→pass | 10,066 | 6,451 | -36% | 1 | 1 | 0% | 1,762 | 3,405 | +93% | 0 | 0 | — |
case-12 | fail→pass | 7,070 | 2,241 | -68% | 1 | 1 | 0% | 979 | 2,624 | +168% | 0 | 0 | — |
case-13 | fail→pass | 9,055 | 1,827 | -80% | 1 | 1 | 0% | 1,182 | 2,621 | +122% | 0 | 0 | — |
case-14 | fail→pass | 28,462 | 2,024 | -93% | 1 | 1 | 0% | 2,089 | 2,631 | +26% | 0 | 0 | — |
case-15 | fail→pass | 10,075 | 3,032 | -70% | 1 | 1 | 0% | 1,583 | 2,842 | +80% | 0 | 0 | — |
case-16 | fail→pass | 17,538 | 4,447 | -75% | 1 | 1 | 0% | 2,696 | 3,014 | +12% | 0 | 0 | — |
case-17 | fail→pass | 12,171 | 2,217 | -82% | 1 | 1 | 0% | 1,891 | 2,651 | +40% | 0 | 0 | — |
case-18 | fail→pass | 14,509 | 5,861 | -60% | 1 | 1 | 0% | 2,138 | 3,393 | +59% | 0 | 0 | — |
case-19 | fail→pass | 15,971 | 8,472 | -47% | 1 | 1 | 0% | 2,196 | 3,603 | +64% | 0 | 0 | — |
case-20 | pass→pass | 8,897 | 6,768 | -24% | 1 | 1 | 0% | 1,664 | 3,467 | +108% | 0 | 0 | — |
case-21 | pass→pass | 11,094 | 9,692 | -13% | 1 | 1 | 0% | 2,187 | 4,064 | +86% | 0 | 0 | — |
case-22 | pass→pass | 5,813 | 6,406 | +10% | 1 | 1 | 0% | 975 | 3,401 | +249% | 0 | 0 | — |
case-23 | pass→pass | 6,015 | 2,326 | -61% | 1 | 1 | 0% | 936 | 2,611 | +179% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 21 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +65 percentage points is the difference between those two pass rates over the 21 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.