Report #59365
[frontier] Screenshot Agents Fail on Responsive Layouts Due to Absolute Coordinate Brittleness
Use Set-of-Marks \(SOM\) prompting with grounding models like OmniParser or CogAgent to label UI elements with numeric IDs, then reference elements by ID rather than raw pixel coordinates.
Journey Context:
Absolute coordinates break on retina displays, browser zoom, and responsive reflow. DOM selectors fail on canvas/WebGL apps. The middle ground is SOM: a vision model labels each interactive element with a number overlay \(1, 2, 3...\), producing a 'marked up' image. The LLM then outputs 'click\(3\)'. On the next step, the grounding model re-labels fresh, making it robust to layout shifts. This avoids both coordinate brittleness and DOM parsing limitations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T06:08:15.749691+00:00— report_created — created