I'm trying to get my first RSelenium package to a point where I can learn how to use it, but I'm getting a status 125 error when I run this code:
shell('docker run -d -p 4445:4444 selenium/standalone-firefox')
remDr$open()
[1] "Connecting to remote server" Error in checkError(res) : Undefined error in httr call. httr output: Failed to connect to 192.168.99.100 port 4445: Connection refused
Background: I'm running a 64 bit version of Windows 10 Home edition I have Oracle VM running the default machine as windows 7 64 bit, it is currently active. I have Docker Toolbox, a session is also active and running:
docker-machine ls
shows me that the container is connected, recognises the docker version v18.03.0-ce and is active.
I downloaded " selenium-server-standalone-3.9.1.jar " In Docker Toolbox I ran this code
docker pull selenium/standalone-firefox:2.53.0
Docker pulled to completion.
In the cmd, in ran
java -jar selenium-server-standalone-3.9.1.jar
which returned 'Selenium Server is up and running on port 4444' I then opened a session of R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree", Platform: x86_64-w64-mingw32/x64 (64-bit)
and tried to run this code:
library(RSelenium)
shell('docker run -d -p 4445:4444 selenium/standalone-firefox')
which gives me the 125 error.
I should note that I haven't restarted the computer since reinstalling Oracle VM
Sorry for drowning you in details, but at this point the number of possible points of failure is a little overwhelming and I want to be thorough.