Yes, I am already using try catch, but I still wanted to ask about this. I thought there was a specific action for this in BAS, such as OnApplicationExit, just like ‘OnApplicationStart’.
@antinxd can you show me how to do it? I need the project to make several queries without closing and opening the browser because each time it opens and closes it goes through a captcha that the program can not solve, so I have to put manually. that's why the browser can't be opening and closing .. can you send me a picture of how it should be done?