I have a scheduled task .vbs which calls my macro in the background. I use !errorIgnore to handle errors that occur so that I can gracefully end ui.vision and my .vbs can keep running. Sometimes ui.vision will throw errors like No tab with id: xxx which are not caught with !errorIgnore.
Has anyone found a solution to catch any and all errors so ui.vision doesn’t just hang there in the background?
Thanks for the replies. I can run my vbs from the command line OK however every time I try to run the same .vbs from a scheduled task ui.Vision errors out and there is no log of what is going on. Is there any way for ui.vision to create a log while it runs a macro so I can see what is going on?
No tab with id: xxx is a critical error, when it is showed ui vision stop to work and not save any log, need to taskill browser and restart it again i have this error from 3 years and there is not definitive solution.
I used powershell to check browser opened and kill it before start another browser but is not the best solution.