I am trying to use RSelenium and I am having trouble with binman and finding Chrome drivers.
The RSelenium tutorial I am following told me to running this command to find the Chrome drivers available to me:
binman::app_dir("chromedriver", check = TRUE)
But I keep getting this error:
Error: ~/Library/Application Support/binman_chromedriver app directory not found.
I am on MacOS (v 12.6) and using R studio. I have tried reinstalling both RSelenium and binman neither has helped. I also searched my machine to see if binman_chromedriver directory was installed under a different file path but I found nothing. The tutorial I am following implied that installing RSelenium should be enough to make this command run, but maybe I need to install the driver separately? I am very new to RSelenium so I don't 100% understand what is doing on under the hood so any tips on how to resolve this issue would be great.
Ever since I was taught to use RSelenium I was given the suggestion to put these files in the same folder. Since there are several ways to use Rselenium but as I understand, this one is one of the most stable. Maybe it doesn't matter if you have everything in the same folder.
But it is important to download the right driver according to your version of chrome to avoid the Rselenium crash.
The .jar files are related to Java functionalities, also with the metadata exchange as I have read.
In the link of the drive I share all the files to facilitate the use.
It makes sense why all those things should go in the same folder, but my question is where should that folder go so that way when I call rsdriver() it knows where to find all those elements?
library(RSelenium)
remDr <- remoteDriver(browserName = "chrome",port = 4444,
remoteServerAddr = "localhost")
remDr$open()
Sys.sleep(1)
# If you make the all step well, you could work with it.