Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to connect to renderer after updating Chrome browser to latest version

I keep getting this InvalidOperationException after updating Chrome to the latest version. I'm using Selenium-Webdriver in c#

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()
like image 551
King81 Avatar asked Jan 04 '23 07:01

King81


2 Answers

You are using the chromediver 2.32 and in the release notes there is written that the support is for Chrome v59-61

As browser you have:

Chrome Version 62.0.3202.62 (Official Build) (64-bit) So, from ChromeDriver, you should use the 2.33

like image 161
sravan Avatar answered May 16 '23 09:05

sravan


I had the same problem when using Selenium with VisGrid. You can download the latest ChromeDriver here: https://sites.google.com/a/chromium.org/chromedriver/downloads

For VisGrid I had to place that file in VisGrid folder under /drivers/chrome

like image 23
kcm Avatar answered May 16 '23 10:05

kcm