Selenium webdriver 在selenium网格上运行时,project使用的是较旧版本的chrome,但在同一台机器上运行时,如果没有网格,则运行良好

Selenium webdriver 在selenium网格上运行时,project使用的是较旧版本的chrome,但在同一台机器上运行时,如果没有网格,则运行良好,selenium-webdriver,c#-4.0,selenium-chromedriver,specflow,selenium-grid,Selenium Webdriver,C# 4.0,Selenium Chromedriver,Specflow,Selenium Grid,我已经在本地机器上设置了selenium网格&试图在节点上运行selenium C#,specflow测试。 将我的chrome驱动程序从89升级到91版本。My.proj文件具有更新的版本 当我运行这些测试时,我发现了一个错误 System.AggregateException : One or more errors occurred. (session not created: This version of ChromeDriver only supports Chrome versio

我已经在本地机器上设置了selenium网格&试图在节点上运行selenium C#,specflow测试。 将我的chrome驱动程序从89升级到91版本。My.proj文件具有更新的版本 当我运行这些测试时,我发现了一个错误

System.AggregateException : One or more errors occurred. (session not created: This version of ChromeDriver only supports Chrome version 89
    Current browser version is 91.0.4472.77 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
当我在没有网格的同一台机器上执行测试locallay时,我的测试运行良好

下面是调用远程浏览器的方法

ChromeOptions option = New ChromeOptions();
                option.PlatformName = platformName;
                option.AddAdditionalCapability("platform", platform, true);
                option.AddArgument("no-sandbox");
                driver = new RemoteWebDriver(new Uri(hubUrl), option.ToCapabilities(), TimeSpan.FromSeconds(waitTime));
请帮忙