ChromeDriver - Disable developer mode extensions pop up on Selenium WebDriver automation

0
0

I’m having the following issue:
When I’m running my automation tests, I keep getting the following alert “Disable Developer Mode Extension” in Chrome.

enter image description here

Is there a way to remove/disable this?. It is a blocker for me as it is making me fail some tests.

Thanks in advance

  • You must to post comments
0
0

Did you try disabling the developer extensions with command line param?

Try with the following Selenium WebDriver java code:

System.setProperty("webdriver.chrome.driver", "D:\\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options
.addArguments("--disable-extensions");
driver
= new ChromeDriver(options);
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website