RSelenium through docker
You need to use the function rsDriver
. The Selenium Version wants you to use Docker (which I also would recommend), but if you are not familiar with this you can go this way.
rsdriver will manage the binaries needed for running a Selenium Server. This provides a wrapper around the wdman::selenium function.
Here is what you have to do to start a Chrome Browser:
driver<- rsDriver()remDr <- driver[["client"]]
And then you can work with it:
remDr$navigate("http://www.google.de")remDr$navigate("http://www.spiegel.de")
And stop it:
remDr$close()