Report #61718
[frontier] DOM-based element selection fails on dynamic IDs, shadow DOM, canvas elements, and virtualized lists
Use absolute coordinate prediction \(x,y\) for canvas/WebGL, shadow DOM content, and virtualized scrolling; use element IDs only with stability validation \(ID persistence across 3 consecutive screenshots\); implement fallback chain: stable ID → semantic label → relative coordinates → absolute coordinates with confidence threshold
Journey Context:
Modern SPAs regenerate dynamic IDs \(React keys\), encapsulate components in shadow DOM, and render lists virtually \(recycling DOM nodes\). CSS selectors break constantly. Coordinates bypass DOM abstraction leaks but fail on responsive layouts or window resizing. The key is stability detection: if ID changes between screenshots, it's not stable. Tradeoff is robustness vs precision.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:04:57.933440+00:00— report_created — created