Disable Healing
By default, Healenium performs healing on all findElement methods executed during the testing session. However, healing is not performed when using findElements methods. If you want to enable healing for findElements, you can do so by toggling the relevant selector on the Healenium selectors page.

To disable/enable healing for a specific selector, you can navigate to the Healenium selectors page at http://<hlm-backend>/healenium/selectors (locally: http://localhost:7878/healenium/selectors/) and locate the relevant selector. Then, you can toggle the selector to disable healing for it.

Here are the steps to disable/enable healing for a selector:

  1. Navigate to http://<hlm-backend>/healenium/selectors in your web browser.
  2. Locate the selector that you want to disable healing for.
  3. Toggle the selector to disable/enable healing for it.

After you disable/enable healing for a selector, Healenium will not perform/performs healing for the findElement/findElements methods that use that selector during the testing session.

Note that this feature only applies to findElement and findElements methods. If you want to disable healing for an entire test case, you can use the heal-enabled=false (healenium.properties) for hlm-web and HEAL_ENABLED (env variable) for hlm-proxy property.
The Healenium Selectors consists of several sections, including:

  • Locator
  • The class in which it is used (hlm-web only)
  • The method (hlm-web only)
  • Type. Single = findElement. Multiple = findElements
  • URL of page
  • Healing Enable toggle

By default, the locator is not associated with the page on which it was found. If you have identical locators on different pages, set KEY_SELECTOR_URL=true and then the selector will be associated with the page on which it was found. In the database, two locators will be saved, but they will be used on different pages.

About Healenium
  • Anna_Chernyshova@epam.com - Project Manager
  • Dmitriy_Gumeniuk@epam.com - Project Supervisor