I am trying to disable the output to the console for chrome. If I pass the --start-maximized option it works fine. I may have the wrong command?
DesiredCapab
Try "--disable-logging" instead.
--disable-logging
DesiredCapabilities capabilities = DesiredCapabilities.chrome(); capabilities.setCapability("chrome.switches", Arrays.asList("--disable-logging")); chrome = new ChromeDriver(_chromeservice,capabilities);