Report #75164
[frontier] Agents fail to click precise UI elements when relying solely on screenshots \(coordinate drift\) or solely on accessibility trees \(missing visual context\)
Hybrid grounding: use accessibility tree for element identification and bounding boxes, but verify with screenshot crops for visual state confirmation before action
Journey Context:
Pure screenshot agents \(OmniParser-style\) struggle with small interactive elements \(<20px\), dynamic Z-index layering, and distinguishing enabled vs disabled buttons that look similar at low resolution. Pure a11y-tree agents miss loading spinners, skeleton screens, and visual confirmation of state changes. The hybrid approach treats the a11y tree as the 'address book' \(stable IDs, role information\) but screenshots as the 'verification layer' \(visual state, color changes\). This requires maintaining a real-time mapping between a11y node IDs and screen coordinates, handling coordinate transformations when viewports scroll or zoom. The pattern is essential for production agents targeting enterprise web apps with heavy JavaScript frameworks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T08:45:23.768149+00:00— report_created — created