I am building a bot that will interact with a webpage and I would like to put some error handling into the automation. Essentially I want to:
1. Try to open the webpage. If it is succesful move to next step
2. Try to open the webpage if not successful try to load the webpage again 2x..... Not sure what error code would occur in this instance? Can someone provide the error code.
Also, if there are any other webpage related error codes that I should take into account please give me the number so I can identify this....
So the logic would be if X Internet/Webpage Issue Error Do Y
or if there are multiple Internet/Webpage Errors then if X, Y or Z Error do this....etc.
I am unsure of the error codes or other ways I could Identify these type of issues. Thank you for your help in advance.