0

I was meddling with the RSelenium package when I type in the following code:

library(tidyverse) library(rvest) library(RSelenium) rs_driver_lone<-rsDriver(browser="chrome",phantomver=NULL) 

It was running properly, downloading neat server files, until it encountered an error below.

Warning in rsDriver(browser = "chrome", phantomver = NULL) : Could not determine server status. [1] "Connecting to remote server" Could not open chrome browser. Client error message: Undefined error in httr call. httr output: Could not connect to server [localhost]: Failed to connect to localhost port 4567 after 2236 ms: Could not connect to server Check server log for further details. 

I typed in rs_driver_lone$server$log() as a result, and it showed me this.

$stderr [1] "Error: Could not find or load main class c(-Dwebdriver.chrome.driver=\"C:\\\\Users\\\\User\\\\AppData\\\\Local\\\\binman\\\\binman_chromedriver\\\\win32\\\\142.0.7444.175.chromedriver.exe\"," [2] "Caused by: java.lang.ClassNotFoundException: c(-Dwebdriver.chrome.driver=\"C:\\\\Users\\\\User\\\\AppData\\\\Local\\\\binman\\\\binman_chromedriver\\\\win32\\\\142.0.7444.175.chromedriver.exe\"," $stdout character(0) 

What happened? I have copied chromedriver.exe to binman_chromedriver\win32 and renamed it to "142.0.7444.157.chromedriver.exe". I have also deleted the binman_seleniumserver and retried the codes, but none of the fixes worked. What should I do?

New contributor
user31933404 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
2

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.