There is no reference data stored in the database. To check the stored locators, please navigate to http://<hlm-backend>:7878/healenium/selectors and verify that they are present and available for healing.
Note: The search is based on the locator, class name, method name (where the selector is used), and the URL of your page.
If any of these elements differ from your current state, Healenium will not be able to locate the element, and you will receive an error message: "New element locator has not been found. There is a lack of reference data."
The most common scenarios causing this issue are:
- You have not executed a successful test to store the reference data.
- You have changed the selector in the code but not on the corresponding web page.
- The URL of the page has been changed. In such cases, you can use the environment field in the hlm-backend service: KEY_SELECTOR_URL=false to disable URL association with selector.
Please ensure that you have the appropriate reference data stored, selectors are up-to-date, and the URL matches the expected state for successful healing with Healenium.