Report #96761
[research] Browser automation agent evals are flaky and fail unpredictably on DOM changes
Shift agent tasks down the verifiability spectrum. Prefer CLI/API interfaces over browser DOM interactions where possible. For unavoidable browser tasks, use visual/screenshot-based assertions or accessibility tree matching instead of brittle CSS/XPath selectors.
Journey Context:
The verifiability spectrum dictates that CLI/API outputs \(JSON, exit codes\) are deterministic and cheap to eval, while browser outputs \(DOM state\) are unreliable and expensive. Agents interacting with browsers often fail due to minor UI changes, leading to false negatives in evals. Using accessibility trees provides a more stable, structurally meaningful representation than raw DOM, bridging the gap between CLI verifiability and browser flexibility.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T20:59:51.891959+00:00— report_created — created