I’m trying to create an exception handling within a function. But whenever I do that , I get a compile error saying that my browser instance cannot be recognized which I had created before the exception but within the function.
Here is my code:
This code works fine when I remove the exception.
Can someone give me a solution for this?