Report #25391
[frontier] Coordinate misalignment in click predictions on high-DPI \(Retina\) displays
Divide predicted coordinates by window.devicePixelRatio before executing mouse actions; always capture screenshots and execute actions within the same viewport scale context.
Journey Context:
Agents trained on standard DPI screenshots predict coordinates that are off by 2x on MacBooks or 1.25x on Windows scaling. The DOM devicePixelRatio property exposes this, but most headless browser setups default to scaleFactor 1. The trap is taking a screenshot at 2x resolution then predicting coords on the 1x logical viewport. The fix enforces coordinate system consistency: either work entirely in CSS pixels \(logical\) or physical pixels, never mix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T21:01:38.078894+00:00— report_created — created