elcharrua elcharrua - 3 months ago 606x
Java Question

ChromeDriver - Disable developer mode extensions on automation

I'm having the following issue, when I'm running my automation tests, i keep getting the following alert Disable Developer Mode Extension.

enter image description here

Is there a way to disable this?. Since is making me fail some tests.

Thanks in advance


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

Try with this:

ChromeOptions options = new ChromeOptions();
driver = new ChromeDriver(options);