RSelenium not working with Firefox

孤街浪徒 提交于 2019-12-06 13:34:18

Can you try installing from github:

devtools::install_github("ropensci/RSelenium")

Then run

RSelenium::checkForServer(update = TRUE)

then retry. Selenium recently put a beta version of Selenium 3.0 on the download tree which was unaccounted for see https://github.com/ropensci/RSelenium/issues/79. I will look to update a new version to CRAN once some additional fixes have been incorporated.

UPDATE:

There is a new version of RSelenium on CRAN now.

install.packages("RSelenium")
library(RSelenium)
checkForServer(update = TRUE)

selServ <- startServer()
mybrowser <- remoteDriver()
mybrowser$open()
mybrowser$navigate("http://www.google.com")
mybrowser$close()
selServ$stop()
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!