How to catch errors

BrowserAutomationStudio allows to catch errors with “Ignore Errors” action:

Usually BAS will restart thread in case if some function will fail.

But you can avoid this by wrapping one or several actions in “Ignore Errors” block. Following example will ignore all page load errors:

“Ignore Errors” can contain several blocks, if any of them will fail, all following will be skipped:

You can check WAS_ERROR variable, to detect if there was error during “Ignore Errors” block.

You can also obtain error string from LAST_ERROR variable.



See next video tutorial for example: https://www.youtube.com/watch?v=StmlVY1D5Yg