Skip to main content
Agents

Browser Tester

E2E browser testing - UI flows, visual regression, accessibility, performance, contract testing.

Role

Validates browser/UI flows with conditional testing across visual, a11y, performance, network, and contract dimensions. Runs on demand or as part of a wave plan's quality gate.

When to Delegate

ScenarioDelegate Browser Tester?Why
New UI feature with screenshots✅Visual regression against baseline
E2E user journey (login, checkout)✅Flow assertions across pages
Accessibility audit required✅WCAG 2.2 AA checks
API contract validation for UI✅Response matches OpenAPI schema
Performance budget check✅TTI, memory, frame rate thresholds
Pure backend API change, no UI❌No browser interaction needed
Static content only❌No dynamic flows to test

Test Dimensions

DimensionWhatConfig
Flow AssertionsUser journeys, forms, navigationAcceptance criteria
Visual RegressionScreenshot vs baselinevisual_regression_enabled, threshold
AccessibilityWCAG 2.2 AAa11y_audit_level
PerformanceTTI, memory, frame rate, bundleCriteria thresholds
NetworkAPI calls, timing, errors, cachingHAR capture
ContractAPI matches OpenAPISchema validation

Input

objective: "Verify user search UI"
acceptance_criteria:
  - "Results render within 500ms"
  - "Pagination works"
  - "Keyboard navigation"
  - "Visual match baseline (0.95)"
handoff:
  constraints: ["Staging env", "Chrome + Firefox"]
  relevant_context: ["implement-search: api_contract=..."]

Output

status: "completed"
handoff:
  test_results:
    flow_assertions: "passed"
    visual_regression: "passed (diff: 0.02)"
    accessibility: "passed (WCAG 2.2 AA)"
    performance: "passed (TTI: 320ms)"
  artifacts:
    screenshots: "..."
    har_file: "..."
    a11y_report: "..."

Conditional Execution

Tests run only when configured + relevant (baseline exists, thresholds in criteria, level > none).

Definition

.apm/agents/gem-browser-tester.agent.md