First time here? Check out the FAQ!

Getting an error when I start Chrome using VBA.

0 votes
asked by about SeleniumWrapper
edited by

I have installed latest version SeleniumWrapperSetup- and when I try to open in Chrome, I got an error message as Disable Developer Mode Extension and Not Secure data is mentioned on
top of the page. Please help

I have tried both ways below.

  • 1

Dim driver As SeleniumWrapper.WebDriver
Set driver = New SeleniumWrapper.WebDriver
driver.Start "Chrome", ""

  • 2

Dim bot As New WebDriver
bot.Start "chrome", ""
bot.Open ""


1 Answer

0 votes
answered by (329k points)

When you create the drivers for Chrome, use the following code as you see here:

ChromeOptions options = new ChromeOptions();
System.setProperty("",(System.getProperty("user.dir") + "//src//test//resources//chromedriver_new.exe"));
driver = new ChromeDriver(options);

This needs to be added to the conf.js file so that SeleniumWrapper will work properly.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register