Activate the Robot and Select AI-Assisted Self-Healing

Activate the robot and enable the AI assisted self heal to correct XPath issues option. Set the maximum number of retries (for example, 3).