ChromeDriver - Disable Developer Mode Extensions Pop Up On Selenium WebDriver Automation
Answer : 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); I cannot disable extensions because I'm developing & testing one. What I'm doing to dismiss this popup is the following: I load chrome with my extension using Selenium. I then immediately create a new window (via the SendKeys(Control-N) method). This predictably brings up the "Disable Developer Mode Extensions" popup after 3 seconds in the new window. I can't tell programmatically when it pops up (doesn't show in screenshots) so instead I simply wait 4 seconds. Then I close the tab via driver.Close(); (which also closes this new window). Chrome takes that as "cancel", dis...