Disable developer mode extensions pop up in Chrome -


since latest release of chrome (34.0.1847.116) last week, have been receiving “disable developer mode extensions" when running automated tests using watir-webdriver.

this seems offensive extension doesn't make sense me potentially hazardous extension given used chromedriver.

anyone has found fix this, unable roll previous version or find installer older version roll , playing havoc tests.

enter image description here

enter image description here

while creating chrome driver, use option disable it. working without extensions.

use following code snippet

chromeoptions options = new chromeoptions(); options.addarguments("chrome.switches","--disable-extensions"); system.setproperty("webdriver.chrome.driver",(system.getproperty("user.dir") + "//src//test//resources//chromedriver_new.exe")); driver = new chromedriver(options); 

Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -