1
我試圖不成功下面的代碼,但瀏覽器不斷顯示圖像。如何在Selenium WebDriver for .NET中無圖像地啓動chrome?
DesiredCapabilities capabilities = DesiredCapabilities.Chrome();
capabilities.SetCapability("chrome.switches", new string[1] {"disable-images"});
driver = new ChromeDriver(capabilities);
Selenium WebDriver for .NET。