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.
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
Did you try disabling the developer extensions with command line param?
Try with the following Selenium WebDriver java code:
I worked around this issue by using AutoIT.
First, you'll need to create the script.
closechromewarning.au3:
The script needs to be compiled to a
.exe
, then place the.exe
in the path so it can be run.Function that closes the warning, using c# syntax:
Sleep(4000)
did work, but I upped it toSleep(5000)
just to be sure.Calling
CloseChromeDialog()
:I'd been facing the same problem for a long time. The solution turns out to be very simple. Just download the updated "chromedriver.exe" and paste it replacing with the existing one located at "C:\Program Files\SeleniumBasic". I hope it'll do the trick.
This has been automatically fixed with a combination of ChromeDriver.exe V2.23 + Chrome 53.0.
To understand which chrome version will work with which driver, we can use the following well detailed doc: https://sites.google.com/a/chromium.org/chromedriver/downloads
Enjoy Automated Testing!!
I too faced this problem. The solution is, if you are using maven then just add:
-Dchrome.switches=--disable-extensions
It will disable all the extensions and you will not face this problem.
I am using selenium Webdriver 2.53 and chrome version 56.0.2924.87 and the chrome driver.exe which I am using is 2.27. with this combination it is working with the