elcharrua elcharrua - 1 year ago 1887
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

Answer Source

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

Try with this:

ChromeOptions options = new ChromeOptions();
driver = new ChromeDriver(options);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download