Automation Execution begins.
Check if an error occurs during execution.
Activate self-healing mechanism.
Identify error type.
Switch to correct iFrame.
Navigate to shadow root.
Retrieve multiple stored attributes to identify the potential element.
Score attributes on a scale of 0-50.
Evaluate candidate locators, scoring overall similarity.
Choose the most suitable locator from the candidate ratings.
Save the new locator in the database for future use.
Check if the element is now located.
Log error and stop.
Process complete.
Proceed without errors.
ID, class, text, label, parents, siblings, aria-text.
Score attributes 0–50.
Evaluate candidate locators 5–50.
Check similarity.
Save in database.
Resume automation.
by dasd