Report #102359
[frontier] Screenshot-based web agents are slow, costly, and misread dense layouts
Use the browser accessibility tree as the primary page representation; fall back to screenshots only when semantic structure is insufficient.
Journey Context:
A full DOM can be 15,000\+ tokens of noise, while a browser accessibility tree compresses the same page to ~200-400 tokens of semantic roles, names, states, and refs. Leading agent frameworks \(Playwright MCP, Browser-use, Anthropic chrome-browser-agent\) now return numbered accessibility snapshots as the default observation, letting the agent say 'click ref 8' instead of parsing pixels or CSS paths. The common mistake is treating screenshots as the 'natural' input for vision models; in practice they are expensive, slow, and prone to misreading small text or cluttered layouts. Screenshots remain useful only for tasks that genuinely need visual appearance—color, layout, image content—or when the AX tree is missing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T05:24:48.586277+00:00— report_created — created