Reputation: 41
My chrome got upgraded to version 57 and now my scripts are not working because of save password popup. i tried from chrome setting but everytime i run my script the saved setting doesn't work in new opened browser. any solutions?
Upvotes: 2
Views: 738
Reputation: 26
It worked for me:
ChromeOptions options = new ChromeOptions();
Map<String, Object> prefs = new HashMap<String, Object>();
prefs.put("credentials_enable_service", false);
options.setExperimentalOption("prefs", prefs);
Upvotes: 1