I have following setting in the C# code to use Chrome WebDriver:
ChromeOptions options = new ChromeOptions();
options.AddUserProfilePreference("plugins.always_open_pdf_externally", true);
options.AddArguments("--test-type", "--ignore-certificate-errors");
options.AddArgument("-no-sandbox");
options.AcceptInsecureCertificates = true;
driver = new ChromeDriver(ChromeDriverService.CreateDefaultService(), options, TimeSpan.FromMinutes(3));
driver.Manage().Window.Maximize();
driver.Url = link_URL;
This used to work fine until Chrome is updated from version 90 to 94. With the new updates to the Chrome version, the driver gets hang and shows the following message: Passthrough is not supported, GL is disabled, ANGLE is
I googled for a resolution and found that Setting WebGL to enable mode could resolve this, I was able to make this change in the Chrome settings. But when a new instance of Chrome is launched by WebDriver then WEBGL settings are coming up as disabled only. I have tried to set them via the below code as well:
options.AddArgument("--enable-webgl-developer-extensions");
options.AddArgument("--enable-webgl-draft-extensions");
But the WebGL is still showing up as disabled in the WebDriver's chrome instance.
Could anyone please suggest a resolution of this?
--ignore-gpu-blocklist
– ForborneChromeOptions
object like OP. – Forborne--ignore-gpu-blocklist
but not worked for me – Rodenticide