I'll start by saying I have ran into this issue many times in the past, and all that's been required is updating my Google Chrome version and then updating the chromever =
param in rsDriver()
. These are no longer working for me.
I've tried the solutions in many posts (this one in particular) but I still can't get it to work.
Here are some details:
Computer/browser/R info:
- Chrome Version: 89.0.4389.90
- Mac Version: 10.15.4
- RStudio Version: 1.3.959
For the longest time, I've been able to use
chromever = "87.0.4280.20"
even though my browser wasn't on that version. I could open up a remote driver withremDrall <- rsDriver(port = 4445L, browser = "chrome", chromever = "87.0.4280.20")
When I try this now, I get an error saying
Selenium message:session not created: This version of ChromeDriver only supports Chrome version 87 Current browser version is 89.0.4389.90 with binary path /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
This prompted me to try updating my ChromeDriver if it was stuck on 87. I updated it by manually downloading and moving to
/usr/local/bin/chromedriver
as well as updating viabrew upgrade chromedriver
. As far as I know it worked, testing via:ls /usr/local/Caskroom/chromedriver/
gives me89.0.4389.23
/usr/local/bin/chromedriver
starts a chromedriver session with 89.0.4389.23
I've tried using
chromever = "89.0.4389.23"
but I get an unknown server-side error. I know my chrome version is 89.0.4389.90, but that version isn't available to use inrsDriver
.
I'm really not sure where to go from here. I just don't get why it says my ChromeDriver only supports Chrome version 87 when I clearly have it updated to 89. Could it be that my rsDriver
function is still picking up some old version of ChromeDriver? Can I direct it specifically to the one in /usr/local/bin/
?
Any thoughts on what I can try next?