envRefInferField中的RSelenium错误

时间:2016-10-20 20:40:26

标签: r web-scraping rselenium

我和RSelenium一整天都在苦苦挣扎。我已经阅读了网上关于这个问题的所有内容。毕竟我得到了一些收入和错误,我没有得到第一名。当我执行checkForServer()时,我得到了监听:

Warning message:
checkForServer is deprecated.
Users in future can find the function in file.path(find.package("RSelenium"), "example/serverUtils").
The sourcing/starting of a Selenium Server is a users responsiblity. 
Options include manually starting a server see vignette("RSelenium-basics", package = "RSelenium")
and running a docker container see  vignette("RSelenium-docker", package = "RSelenium") 

当我执行startServer()时,我会收到与上述相同的警告。

最后,当我运行代码remDr <-remoteDriver()remDr$open()时,我收到错误:

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

我也试过使用chrome,但没有成功。

0 个答案:

没有答案