WebDriverError: disconnected: unable to connect to renderer
I had similar error. But versions were matching: I was using Chrome 65 with driver version 2.38.
I spent long time, trying to understand the issue.
At the end, found that it was caused by empty /etc/hosts
file. Apparently Chrome communicates via localhost
, and if such entry missing in /etc/hosts
- it will crash.
So, make sure, it has entry like this:
127.0.0.1 localhost
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
Here's an brew
addendum to @davide-patti solution. :)
When I was getting the error unable to connect to renderer
, I learned from
@davide-patti that I was using an older version of chromedriver, v2.32. But I was unable to upgrade my chromedriver
with homebrew
, as I received continually: No available formula with the name "chromedriver"
.
This article helped me a lot to upgrade to v2.33+.
About: Error: No available formula with the name "chromedriver" https://github.com/Homebrew/brew/issues/4089