I'm trying to connect to Selenium server using the most recent version of RSelenium. Here is the code I used:
install.packages('RSelenium') library(RSelenium) remDr <- remoteDriver(remoteServerAddr = "localhost" , port = 4445L , browserName = "firefox" ) remDr$open() The output is as follows:
Error in checkError(res) : Undefined error in httr call. httr output: Failed to connect to localhost port 4445: Connection refused I have tried this solution (using the docker). I downloaded the docker from here (as I am using macOS 10.12.5) and added the executable to PATH. After running this code:
system('docker run -d -p 4445:4444 selenium/standalone-chrome') I get this output:
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. I have tried some other solutions but none of them worked. Can you help me please?
splashra try — cran.r-project.org/web/packages/splashr/index.html & github.com/hrbrmstr/splashr. It's an alternative to the Selenium ecosystem based on splash.readthedocs.io/en/stable