I want to catch the open browser error and when it occurs I want to run a script to install browser extension. Please help me who to catch the error.
Thank you
I want to catch the open browser error and when it occurs I want to run a script to install browser extension. Please help me who to catch the error.
Thank you
You can use Exception to catch the browser error and check what the message was. If the message indicates that it was a browser error, install the plugin. Else, rethrow the error.
Thank you Anthony. Please is there any activity. I am learning. I don’t know any vb.net. Please help me.
Use a Try-Catch activity. In the Catch block, you’ll be able to select the exception you want to use. Use System.Exception (or Exception) to catch any error that occurs. Then you can use exception.Message
within the Catch block to read the message returned from the error.
The Try block should include only the activity attempting to open the browser. This ensures that we’re only capturing relevant errors when attempting to open the browser.
Thank you Anthony. I will do it and let you know.
Thank you Anthony It worked.
In uipath tools section the browser extension is there ,try to install this extension its will hopefully working all the browser and save your time using try catch.
If its annoying browser check the vb.net using task manager and catch it over
Thank you Veera.
please mark as solution