EdgeWebDriver
EdgeWebDriver copied to clipboard
Suppress output: Microsoft Edge WebDriver was started successfully
Hi,
Language: Groovy EdgeWebDriver Version: 111.0.1661.43 x64 (not important) Selenium : 4.8.1 (not important)
By Start Edge WebDriver (msedgedriver.exe) report following line in Windows Console ErrorStream. Microsoft Edge WebDriver was started successfully. Question: How i can suppress this output?
Bellow you kann see my my attempts but nothing is works.
Thanks a lot for your answers.
System.setProperty("webdriver.edge.driver", "msedgedriver.exe")
System.setProperty("webdriver.edge.silentOutput","true")
//System.setProperty("webdriver.edge.loglevel","off") //alternate to silentOutput=true
//System.setProperty("webdriver.edge.silentLogging", "true")
System.setProperty("webdriver.edge.verboseLogging", "false")
//System.setProperty("webdriver.edge.args","--disable-logging")
EdgeOptions options = new EdgeOptions()
//options.addArguments("--disable-logging")
//options.addArguments("--silent")
//options.addArguments("--verbose")
//options.addArguments("--log-level=3")
options.setExperimentalOption("excludeSwitches", ["enable-automation"])
driver= new EdgeDriver(options)
driver.get("https://google.com")
sleep(1000)
driver.quit()
Thank you for the feedback. This is not supported right now. As a workaround, you can try suppressing the output using a powershell or .bat script.
any update on this ?
The verbose output in the console is easy to kill after it started but it is distracting..
I trink this Message is OK for next time but not in ErrorStream.