Auto Healing

Test how your automation framework reacts when a locator silently changes underneath it. This demo simulates a common real-world scenario, where a developer renames a DOM id attribute and breaks every existing Selenium, Cypress, or Playwright script that depended on it.

How this demo works

  1. The Username field starts with id="username". Write a test that locates it by that id and submits the form.
  2. Click Change DOM ID. The same input's id is dynamically swapped to id="lambdatest" without any other visual change.
  3. Re-run your test. A traditional script will fail with NoSuchElementException. An auto-healing framework should detect the change and continue working by re-resolving the locator from context (label text, position, surrounding DOM).

Use this page to validate your test stability tooling, self-healing locators, or AI-powered element resolution against a deterministic locator drift.

Change DOM ID