r - Rselenium executable does not exist -


i try run rselenium using following:

library("rselenium") #start rselenium server rd <- rsdriver(verbose = false) remdr <- rd$client remdr$open() 

however, in rsdriver(), receive error:

selenium message:the driver executable not exist: c:\users\kira\documents  error:   summary: unknownerror      detail: unknown server-side error occurred while processing command.      class: java.lang.illegalstateexception      further details: run errordetails method 

i have download standalone jar of selenium , put path error not disappear. other workarounds?

from docs, looks should starting server command terminal. of course, can r system2 command, easier start jar terminal first debugging.

alternatively can run binary manually. open console in os , navigate binary located , run:

java -jar selenium-server-standalone-x.xx.x.jar

by default selenium server listens connections on port 4444.

note mac osx: default port 4444 used other programs such kerberos. in our examples use port 4445 in respect of , cdonsistency docker vignette.

afterwards, connecting r:

remdr <- remotedriver(remoteserveraddr = "localhost"                        , port = 4444l                       , browsername = "firefox"                       )  remdr$open()  remdr$getstatus() 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -