I just want to disable Chrome notifications in the Chrome opened by a Selenium Java application. (using java code)
Notifications like this one:
The
ChromeOptions ops = new ChromeOptions(); ops.addArguments("--disable-notifications"); System.setProperty("webdriver.chrome.driver", "./lib/chromedriver"); driver = new ChromeDriver(ops);