I need to develop a bot to log in to a Government portal. Unfortunately, the portal will be down most of the time.
Is there a way i can stop the bot run if the same system exception is thrown for 3 times in a row EG:UI selector for Login page not found error thrown for 3 times in a row.
Bot should be able to continue processing even if error messages are different even if they occured 3 times in a row.
Appreciate all your suggestions and guidance. Thank you in advance.