Report #83947
[frontier] Agent hallucinates UI elements or misses dynamic Canvas content because it relies exclusively on DOM parsing or exclusively on screenshots
Implement cross-modality consensus: use DOM for structural hierarchy and ARIA labels, use screenshots for rendered appearance \(Canvas/WebGL\). Arbitrate actions by comparing DOM-predicted element locations with screenshot-detected locations; if divergence exceeds threshold, trust screenshot for rendering issues, trust DOM for semantic structure. Fallback to screenshot-only when DOM mutation rate indicates dynamic JS framework activity
Journey Context:
DOM-based agents fail on Canvas/WebGL content \(no DOM nodes\) and struggle with dynamic JS frameworks that mutate the DOM constantly. Screenshot agents miss semantic ARIA labels and cannot extract structured data without OCR errors. The common mistake is committing to one modality. BrowserGym 2.0 demonstrated that hybrid observation spaces outperform single-modality approaches. The challenge is aligning coordinate systems \(DOM uses viewport-relative percentages, screenshots use absolute pixels\). Consensus mechanisms prevent hallucinations when the DOM claims a button exists but the screenshot shows it is hidden \(display: none\) or covered by a modal.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T23:29:38.716244+00:00— report_created — created