How to execute Selenium Chrome WebDriver in silent mode?

0
0

When using Chrome Selenium-WebDriver, it will output diagnostic output when the servers are started:

Started ChromeDriver (v2.0) on port 9515

I do not want to see these messages, how can I suppress them?

I do this

ChromeOptions options = new ChromeOptions();
options
.AddArgument("--silent");
IWebDriver Driver = new ChromeDriver(options);

But diagnostic output is not suppress.

  • You must to post comments
0
0

I simply do this

ChromeOptions options = new ChromeOptions();
optionsChrome
.AddArgument("--log-level=3");
IWebDriver driver = new ChromeDriver(options);
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website