Report #11309
[research] Agent browser automation tasks fail silently or pass incorrectly due to unreliable DOM state verification
Shift verifiable assertions to CLI/SDK/API layers where possible; use browser automation only for the interaction, but verify the outcome via a database query or API call.
Journey Context:
The browser DOM is inherently flaky and visually driven. An agent might click 'submit' and the UI says 'success', but the backend failed. Checking the DOM for 'success' is a weak eval; checking the DB/API for the new record is deterministic. Developers often try to add complex waits and DOM parsers, but the fundamental issue is that browsers are on the unreliable end of the verifiability spectrum. Move assertions to the most deterministic layer available.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T13:05:36.487814+00:00— report_created — created