r - RSelenium not working with Firefox -
i know question similar this one, he's trying use chrome while i'm trying use firefox (47.0.1).
so basically, i'm trying use rselenium. here code :
> library(rselenium) > checkforserver() > startserver() > mybrowser <- remotedriver() > mybrowser$open()
and last line, following error.
[1] "connecting remote server" error: summary: unknownerror detail: unknown server-side error occurred while processing command. class: org.openqa.selenium.webdriverexception
i tried removing-reinstalling rselenium
package. tried this answer recommends, no result.
thanks in advance.
edit 1 :
> sessioninfo() r version 3.2.3 (2015-12-10) platform: x86_64-w64-mingw32/x64 (64-bit) running under: windows >= 8 x64 (build 9200) locale: [1] lc_collate=french_france.1252 lc_ctype=french_france.1252 lc_monetary=french_france.1252 lc_numeric=c [5] lc_time=french_france.1252 attached base packages: [1] stats graphics grdevices utils datasets methods base other attached packages: [1] rselenium_1.3.5 rjsonio_1.3-0 rcurl_1.95-4.8 bitops_1.0-6 foreach_1.4.3 httr_1.2.0 xml_3.98-1.4 loaded via namespace (and not attached): [1] r6_2.1.2 tools_3.2.3 codetools_0.2-14 iterators_1.0.8 catools_1.17.1
can try installing github:
devtools::install_github("ropensci/rselenium")
then run
rselenium::checkforserver(update = true)
then retry. selenium put beta version of selenium 3.0 on download tree unaccounted see https://github.com/ropensci/rselenium/issues/79. update new version cran once additional fixes have been incorporated.
update:
there 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()
Comments
Post a Comment