Skip to main content
Many UIs hide a semantic element (e.g. <input type="checkbox">) behind a styled wrapper that users click. Momentic’s AI chooses elements from the accessibility tree, but the click must land on the visible, interactive element. Global locator redirect bridges the two.

How it works

Momentic hit-tests points inside the original element’s bounds to find the topmost visible, interactive element. If the original element is visible, Momentic uses it as-is. Otherwise, Momentic picks the most-overlapping nearby element whose DOM position and bounding box look similar to the original, so it doesn’t accidentally redirect to an unrelated overlay.

Configuration

Set browser.globalLocatorRedirect in momentic.config.yaml:
momentic.config.yaml
See browser.globalLocatorRedirect for the full reference.