I was trying to figure out how to turn of the logging that the Selenium ChromeDriver was performing and had a hard time doing that.
![]()
I finally figured out how to do it with the following code (the key line of code is highlighted):
private IWebDriver CreateChromeDriver()
{
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.AddArgument("--log-level=3");
return new ChromeDriver(chromeOptions);
}