Selenium webdriver 将Chrome浏览器更新为最新版本后无法连接到渲染器

Selenium webdriver 将Chrome浏览器更新为最新版本后无法连接到渲染器,selenium-webdriver,invalidoperationexception,Selenium Webdriver,Invalidoperationexception,在将Chrome更新到最新版本后,我一直收到这个InvalidOperationException。我在c#中使用Selenium Webdriver 您使用的是chromediver 2.32,在发行说明中写到支持ChromeV59-61 作为浏览器,您有: Chrome版本62.0.3202.62(官方版本)(64位) 因此,在ChromeDriver中,您应该使用2.33,我在VisGrid中使用Selenium时遇到了同样的问题。您可以在此处下载最新的ChromeDriver: 对于Vi

在将Chrome更新到最新版本后,我一直收到这个InvalidOperationException。我在c#中使用Selenium Webdriver


您使用的是chromediver 2.32,在发行说明中写到支持ChromeV59-61

作为浏览器,您有:

Chrome版本62.0.3202.62(官方版本)(64位)
因此,在ChromeDriver中,您应该使用2.33,我在VisGrid中使用Selenium时遇到了同样的问题。您可以在此处下载最新的ChromeDriver:


对于VisGrid,我必须将该文件放在VisGrid文件夹中的/drivers/chrome

下,这是selenium webdriver,使用C#added标记;固定格式;包括来自评论的信息
System.InvalidOperationException: disconnected: unable to connect to renderer
  (Session info: chrome=62.0.3202.62)
  (Driver info: chromedriver=2.32.498550 (9dec58e66c31bcc53a9ce3c7226f0c1c5810906a),platform=Windows NT 6.1.7601 SP1 x86_64) (102)
   at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
   at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.Remote.RemoteWindow.Maximize()