I am trying to run a simple code in R Studio on my new laptop, and I am trying desperately to get my code to run, by failing since hours ... any help would be highly appreciated!
I run this code:
library(RSelenium)
rD <- rsDriver(
browser = "chrome",
chromever = "136.0.7103.49",
verbose = FALSE
)
And get the following error message:
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 2250 ms: Could not connect to server Check server log for further details. Warning message: In rsDriver(browser = "chrome", chromever = "136.0.7103.49", verbose = FALSE) : Could not determine server status.
Might be relevant:
- My current chrome version is 136.0.7103.49
- I created a folder called '136.0.7103.49' in the path 'user ... AppData\Local\binman\binman_chromedriver\win32"
- The folder only contains the latest chromedriver.exe
When I delete older versions in the binman_chromedriver\win32 folder, they are restored after the running the R code mentioned above (not sure if relevant).
Any help would be highly appreciated!