Comments (7)
This is due to the license file now in chromedriver. I was able to get something running by installing the wdman package and running
chromeDr = chrome(version="110.0.5481.77", retcommand = TRUE)
chromeDr # just so you can see what the command that is being run looks like
chromeDr = chrome(version="110.0.5481.77", retcommand = FALSE)
The second line will just show the command that was run and you can see that it has a path/110.0.5481.77/LICENSE.chromedriver element in it.
then I ran rsDriver and assigned chromeDr = rsDr[["client"]].
but I think rsDriver needs to be updated to work with the LICENSE file
from rselenium.
I have also encountered this issue on my two devices. rsDrive
does not work. The error info is as follows:
RSelenium::rsDriver(port = 9999L, browser = "chrome", chromever = "111.0.5563.19")
output:
[1] "Connecting to remote server"
Could not open chrome browser.
Client error message:
Undefined error in httr call. httr output: Failed to connect to localhost port 9999 after 2249 ms: Connection refused
Check server log for further details.
Moreover , remoteDriver
also does not work.
`java -Dwebdriver.chrome.driver="C:\geckodrive.exe" -jar C:\selenium-server-standalone-4.0.0-alpha-2.jar -port 4567` in `CMD`
remDr <- remoteDriver(browserName = "firefox", remoteServerAddr = "localhost", port = 4567L)
remDr$open()
output:
[1] "Connecting to remote server"
Selenium message:Unable to create new service: GeckoDriverService
Build info: version: '4.0.0-alpha-2', revision: 'f148142cf8', time: '2019-07-01T21:30:10'
System info: host: 'XHUANGCB', ip: '', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '19.0.2'
Driver info: driver.version: unknown
Error: Summary: SessionNotCreatedException
Detail: A new session could not be created.
Further Details: run errorDetails method
from rselenium.
I have encountered this issue on both a Mac and Windows:
rD <- RSelenium::rsDriver(browser = "firefox", port = sample.int(1000, 1))
output:
[1] "Connecting to remote server"
Could not open firefox browser.
Client error message:
Undefined error in httr call. httr output: Failed to connect to localhost port 431 after 0 ms: Couldn't connect to server
Check server log for further details.
from rselenium.
from rselenium.
I am still getting the same error as before after running those commands in the rsDriver function. I have also tried using unlink("C:/Users/sck11/AppData/Local/binman/binman_chromedriver/win32/110.0.5481.77/LICENSE.chromedriver")
to unlink the License.chromedriver file as suggested by some other posts but this has not worked either. I have also tried with the updated version of wdman (0.2.6) as well as with 0.2.5. Does anybody have any further ideas as to why this is happening/why these fixes are not working for me?
from rselenium.
I am having the same issue on two Linux Mint machines, one RStudio server on Ubuntu and two Windows machines. None of the suggested fixes have worked so far.,
from rselenium.
is anybody there who resolved this problem yet, let me know if as encountered with same issue
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
- 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.