How does one disable images in Google chrome when using it through Selenium and c#?
I\'ve attempted 6 ways and none worked. I\'ve even tried the answer on this Stack
I found out simple solution. This idea referred from Python:Disable images in Selenium Google ChromeDriver
var service = ChromeDriverService.CreateDefaultService(@WebDriverPath);
var options = net ChromeOptions();
options.AddUserProfilePreference("profile.managed_default_content_settings.images", 2);
IWebDriver Driver = new ChromeDriver(service, options);