Report #12252
[research] Browser automation agents fail evals unreliably due to DOM flakiness while CLI agents pass consistently
Align your eval strategy with the verifiability spectrum: use exact match or programmatic verification for CLI/API agents, but rely on multimodal LLM-as-a-judge or state-diff verification for browser agents, accepting probabilistic bounds.
Journey Context:
A common mistake is applying deterministic evals \(string matching, exact JSON schema\) to browser agents. The DOM is non-deterministic; class names change, layouts shift. CLI and API agents return structured data \(exit codes, JSON\) making them highly verifiable. Browser agents require evaluating the visual outcome or state change \(e.g., 'was the item added to the cart?'\) rather than the DOM structure, shifting evals from deterministic to heuristic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T15:36:53.306344+00:00— report_created — created