Report #78835
[frontier] Screenshot agent coordinates drifting across different screen resolutions and device pixel ratios
Use normalized coordinates \(0-1000 scale\) instead of absolute pixels, and reference coordinates relative to the screenshot's visible viewport rather than full-page DOM coordinates.
Journey Context:
Absolute pixel coordinates fail when agents move between Retina \(2x\) vs standard displays, or when browser zoom levels change. The Anthropic Computer Use API normalizes to a 1000x1000 grid precisely to avoid device fragmentation. Common mistake: using CSS pixel values from DOM inspection tools which don't match screenshot pixel density. Alternative \(screen coordinates in raw pixels\) works only in controlled headless environments with fixed viewport sizes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T14:55:07.416669+00:00— report_created — created