RSelenium has stopped working, what should I do?

2
library(RSelenium)
checkForServer()
startServer()
remDrv <- remoteDriver(browserName = 'firefox')
remDrv$open()**texto em negrito**

Selenium message:The path to the driver executable must be set by the     
webdriver.gecko.driver system property; for more information, see 
https://github.com/mozilla/geckodriver. The latest version can be 
downloaded from https://github.com/mozilla/geckodriver/releases

Error:   Summary: UnknownError
     Detail: An unknown server-side error occurred while processing the command.
 class: java.lang.IllegalStateException
 Further Details: run errorDetails method
    
asked by anonymous 13.11.2016 / 01:55

1 answer

0

For me, everything worked out.

My steps:

  • install.packages('RSelenium') ;
  • RSelenium::checkForServer() (expects to finish execution);
  • RSelenium::startServer()
  • require(RSelenium)
  • remDr <- remoteDriver(browserName = 'firefox')
  • remDr
  • Output:

    $remoteServerAddr
    [1] "localhost"
    
    $port
    [1] 4444
    
    $browserName
    [1] "firefox"
    
    $version
    [1] ""
    
    $platform
    [1] "ANY"
    
    $javascript
    [1] TRUE
    
    $autoClose
    [1] FALSE
    
    $nativeEvents
    [1] TRUE
    
    $extraCapabilities
    list()
        
    13.11.2016 / 02:48