Rselenium stopped working, what should I do?

Asked

Viewed 77 times

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
  • Did you update the library? What version of it?

  • Updated... Downloaded now again!

  • Documentation for package Rselenium' version 1.4.8 @Stillbuggin

1 answer

0

Everything worked out for me.

My footsteps:

  1. install.packages('RSelenium');
  2. RSelenium::checkForServer() (awaits completion of execution);
  3. RSelenium::startServer()
  4. require(RSelenium)
  5. remDr <- remoteDriver(browserName = 'firefox')
  6. 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()

  • Still does not open the browser

  • > remDr$open() [1] "Connecting to remote server" 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/geckriverod. 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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.