Skip to main content
Auto-healing is two behaviors working together: locator resolution keeps element targeting accurate when your UI changes, and smart waiting removes the need for explicit Wait steps.

Locator resolution

On each step, Momentic checks whether the originally targeted element still exists on the page. If it doesn’t, the agent searches for a replacement that matches the original natural-language description. When the test passes, the new target is written to the step cache so future runs are fast and deterministic.
Auto-heal diff

Smart waiting

Momentic waits for the page to stabilize before acting. Defaults to 3 seconds and is configurable per test. Inputs that influence stability:
  • Navigation events
  • load events
  • Page screenshots
  • DOM mutations
  • Same-origin requests