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:
- Navigate to http://<hlm-backend>/healenium/selectors in your web browser.
- Locate the selector that you want to disable healing for.
- 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.