a guest Jul 12th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- ChromeOptions options = new ChromeOptions();
- prefs.put("profile.default_content_setting_values.notifications", 2);
- options.setExperimentalOption("prefs", prefs);
- driver = new ChromeDriver(options);
RAW Paste Data