Trying to disable images loading in ChromeDriver. I'm using the following code, however it's still loading the images. Any suggestions?
DesiredCapabilities capabilities = DesiredCapabilities.Chrome();
capabilities.SetCapability("chrome.switches", new string[1] { "disable-images" });
IWebDriver driver = new ChromeDriver(@"C:\chromedriver\", capabilities);
I had the same problem and I found the answer here;