I'm using Excel VBA with Selenium Basic to automate Chrome. So far the code is working fine but I get this annoying error message
"Failed to load extension from: C:\Users ... Loading of unpacked extensions is disabled by the administrator"
After I hit OK the code runs fine. I've seen past posts on how to handle this issue in other programming languages JS or C# but couldn't find anything with Excel VBA. Please help if possible, thank you.
I've tried the Application.DisplayAlerts = False On Error Resume Next
Dim obj As New WebDriver
obj.Start "chrome", " "
obj.Get "http:\\google.com"
I'd like to either suppress the error message or automate the "enter" button when the window pops up to press OK.