Report #48286
[research] Flaky evals when verifying browser-based agent actions
Shift agent tasks to the CLI/API verifiable end of the spectrum wherever possible. For browser tasks, use DOM state assertions via the accessibility tree instead of pixel-based screenshot comparisons, and isolate browser evals from core logic evals.
Journey Context:
Browser environments are non-deterministic \(latency, dynamic ads, rendering\). Pixel matching is brittle. CLI and API outputs are deterministic and easily diffed. You cannot hold browser-based agent evals to the same pass/fail rigor as CLI without extreme flakiness. Using the accessibility tree bridges the gap by providing a structured, text-based representation of the UI state.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T11:31:55.802096+00:00— report_created — created