我正在运行以下代码并收到错误,我不知道如何解决:
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
但是,当我使用“phantomjs”运行以下代码时,运行正常:
require(RSelenium)
startServer()
pJS <- phantom()
remDr <- remoteDriver(browserName = "phantomjs")
remDr$open()
remDr$close()
我在这里做错了什么?