我正在设置Selenium Grid,并希望在Node中实例化chrome,在该节点上我会收到“功能相关”异常错误消息
我已经尝试过降解硒并使用了desirecapabilities,还尝试过更改Chrome浏览器驱动程序
RemoteWebDriver driver;
ChromeOptions Options = new ChromeOptions();
Options.PlatformName = "windows";
Options.AddAdditionalCapability("platform", "WIN10", true);
Options.AddAdditionalCapability("version", "latest", true);
Options.AddAdditionalCapability("video", "True", true);
string huburl = "http://10.132.48.218:1088/wd/hub";
driver = new RemoteWebDriver(new Uri(huburl), Options.ToCapabilities(), TimeSpan.FromSeconds(300));
driver.Navigate().GoToUrl("https://www.gridlastic.com/csharp-webdriver-example.html");
异常:Error forwarding the new session cannot find: Capabilities
我希望我的代码在Node计算机上成功运行chrome浏览器