【发布时间】:2016-08-07 08:30:50
【问题描述】:
当我尝试打开 RSelenium 时收到此错误
[1] "Connecting to remote server"
Error: Summary: UnknownError
Detail: An unknown server-side error occurred while processing the command.
class: org.openqa.selenium.firefox.NotConnectedException
我的火狐版本是
Firefox version: 480b10
根据this我尝试更新服务器版本
library("RSelenium")
startServer()
unlink(system.file("bin", package = "RSelenium"), recursive = T)
checkForServer(update = TRUE)
remDr <- remoteDriver()
Sys.sleep(5)
remDr$open()
Sys.sleep(5)
但问题依然存在。有人遇到这个问题吗?任何可能的解决方案?
【问题讨论】:
-
如果我们使用Firefox 46版本,问题就解决了
-
如果您使用的是 firefox 48,您将需要 gecko 驱动程序,请参阅github.com/ropensci/RSelenium/issues/81
标签: r selenium firefox rselenium