“Save password for this website” dialog with ChromeDriver, despite numerous command line switches trying to supress such popups
问题 I am getting the "save password" dialog when creating a ChromeDriver like this: var options = new ChromeOptions(); options.AddArguments("chrome.switches", "--disable-extensions --disable-extensions-file-access-check --disable-extensions-http-throttling --disable-infobars --enable-automation --start-maximized"); var driver = new ChromeDriver(options); And navigates to a login form and submit it. How do I get rid of the popup? 回答1: You need to add these preferences: options