0

I am running the following code and am getting an error which I do not know how to resolve:

require(RSelenium)
startServer()
pJS <- phantom()
remDr <- remoteDriver(browserName = "phantom")
remDr$open()
[1] "Connecting to remote server"
Error:   Summary: UnknownError
     Detail: An unknown server-side error occurred while processing the command.
     class: org.openqa.selenium.WebDriverException

But, when I run the following code, with "phantomjs", it runs fine:

require(RSelenium)
startServer()
pJS <- phantom()
remDr <- remoteDriver(browserName = "phantomjs")
remDr$open()
remDr$close()

What am I doing wrong here?

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
A Gore
  • 1,870
  • 2
  • 15
  • 26

0 Answers0