Comments (2)
RSelenium does not work with the latest version of Selenium (see #280). Either:
- Use an older version of Selenium (e.g.
docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-firefox:4.8.3
). You might have to experiment to find a version that RSelenium is compatible with. - Use the newer selenium package, that works with the latest version of Selenium.
from rselenium.
Same issue on my side. Not able to go via docker. using windows 10 machine. have sought help on stackoverflow: https://stackoverflow.com/questions/77498684/rselenuim-docker-unable-to-connect-to-remote-server-for-firefox
system("docker run -d -p 4449:4444 selenium/standalone-firefox")
library(RSelenium)
remDr <- remoteDriver(remoteServerAddr = "localhost",
port = 4445L,
browserName = "firefox"
)
remDr$open(silent = FALSE)
[1] "Connecting to remote server"
Error in checkError(res) :
Undefined error in httr call. httr output: Failed to connect to localhost port 4445 after 2252 ms: Couldn't connect to server
sessioninfo()
sessionInfo()
R version 4.3.2 (2023-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=English_Australia.utf8 LC_CTYPE=English_Australia.utf8
[3] LC_MONETARY=English_Australia.utf8 LC_NUMERIC=C
[5] LC_TIME=English_Australia.utf8
time zone: Australia/Sydney
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RSelenium_1.7.9
loaded via a namespace (and not attached):
[1] wdman_0.2.6 assertthat_0.2.1 R6_2.5.1 rappdirs_0.3.3 netstat_0.1.2
[6] ps_1.7.5 bitops_1.0-7 xml2_1.3.5 processx_3.8.2 caTools_1.18.2
[11] binman_0.1.3 compiler_4.3.2 httr_1.4.7 rstudioapi_0.14 tools_4.3.2
[16] curl_5.1.0 Rcpp_1.0.11 yaml_2.3.7 jsonlite_1.8.7 semver_0.2.0
Any help to resolve issue is much appreciated.
from rselenium.
Related Issues (20)
- Error in parse_ptr(version) : invalid character encountered: .
- rsDriver() issue HOT 11
- RSelenium - localhost port xxxx: Connection refused - Chrome HOT 1
- Unable to navigate to sites using chome after R version 4.2.2 HOT 1
- RSelenium is not working on the shiny server
- Binman::list_versions() Not showing chrome version I have
- Using RSelenium with Github Actions HOT 1
- Issue getting server to connect HOT 7
- Problem with firefox and geckodriver 0.32.2
- rsDriver function returning $id is NA HOT 2
- remDr$open does not open a browser window nor does it give an error HOT 13
- Update DESCRIPTION file HOT 2
- Start a private google chrome session with Rselenium
- ClickElement() problem
- RSelenium and selenium > 4.8.3 HOT 3
- Chrome updated to 116 and driver works for 114. HOT 3
- Trouble Hosting RSelenium on shinyapps.io
- Chrome 121.0.6167.85 not working HOT 2
- Does RSelenium handle hotkeys?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rselenium.