Comments (11)
Try this:
rD <- rsDriver(browser="firefox", port=4555L, verbose=F, chromever = NULL)
The issue appears to be with the chrome driver for me, and running a firefox browser and setting the chrome driver to null allowed me to start the server.
from rselenium.
I am continuously getting "Undefined error in httr call. httr output: Failed to connect to localhost port 14415 after 0 ms: Connection refused". I've tried every work around I've found on the internet. Has anyone found a definitive solution to this issue?
from rselenium.
I'm also getting this issue and none of the work arounds suggested here or that I have found on stack overflow have worked for me. This occurred on a new machine so all packages installed are up to date. It occurs with both the chrome and firefox browsers, although not with phantomjs.
Very keen to find a solution to this as I'm somewhat dependant on being able to load javascript generated content.
from rselenium.
Yep that worked! I actually tried Firefox yesterday, as it happens. I've given up on Chrome. Firefox worked immediately with no additional fuss.
Thanks!
from rselenium.
On second thought, this fix worked for me once, but now I can't reproduce it and am continuing to get the same error message.
from rselenium.
Just to say that I encountered the same issue this week, in two different machines.
from rselenium.
Thanks. Nice to know I'm not crazy. :)
from rselenium.
Others apparently solved this issue by rolling back wdman from version 0.2.6 to 0.2.5:
remove.packages("wdman") install.packages("remotes") library(remotes) install_version("wdman", "0.2.6")
I was actually able to get it working with version 0.2.6 by updating all of the packages that wdman is dependent upon. It appears that I had some pretty old versions of packages like yaml and jsonlite that hadn't been updated in a long time. Once I updated all of these, rsDriver started working again.
from rselenium.
I would love to find a solution as well. I've tried the solutions on stackoverflow and nothing works.
from rselenium.
This worked for me as well, thanks very much @rkahne !!
from rselenium.
For anyone who tried every solutions (including the above one) but still couldn't make it work, try to see if JAVA is installed properly.
from rselenium.
Related Issues (20)
- 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
- Can not connect to the Selenium running in Docker on remote server HOT 2
- Trouble Hosting RSelenium on shinyapps.io
- Chrome 121.0.6167.85 not working HOT 2
- Does RSelenium handle hotkeys?
- Not able to close window after hanging
- Adding Profile Setting to RSelenium Firefox
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.