Use "Ignore errors" action.
You can click on red triangle inside
any action and it will put it around
that action >
2023-04-11_092031.png
Or you can use it for multiple actions, functions, whole script etc.
im trying to make an if else statement, where if this text/element text is shown on chrome browser it will either continue with the script or close the browser and restart.
also another scenario if this text/element text is shown on chrome browser delete text input and move on to the next part of the script
thanks in advance