当我在 R 中运行介绍性代码时,
require(RSelenium)
remDr <- remoteDriver(remoteServerAddr = "localhost", port = 4444, browserName = "chrome")
remDr$navigate("http://www.google.com")
我得到错误
对服务器的无效调用。请检查您是否打开了浏览器。
queryRD(paste0(serverURL, "/session/", sessionInfo$id, "/url"), 中的错误:
会话信息():
R version 3.1.2 (2014-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RSelenium_1.3.5 XML_3.98-1.1 RJSONIO_1.3-0 RCurl_1.95-4.5
[5] bitops_1.0-6
loaded via a namespace (and not attached):
[1] caTools_1.17.1 tools_3.1.2