Report #98642
[frontier] Why do browser agents break silently in production after a minor UI refresh?
Use a layered locator strategy: accessibility-tree/semantic locators first, visual locators with post-action verification second, structural selectors last. For SPAs, wait for specific state signals rather than generic networkidle or DOMContentLoaded.
Journey Context:
Production browser agents often drop from 90%\+ benchmark accuracy to 50-60% on real traffic because of coordinate drift, DOM restructuring, and async SPA state. No single locator handles all three. Semantic locators based on role and accessible name survive CSS/HTML refactors; visual locators survive structural changes but need verification; explicit state waits avoid acting on uninitialized components.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-27T05:19:10.894075+00:00— report_created — created