Giter Club home page Giter Club logo

Comments (7)

rickpuglisi avatar rickpuglisi commented on July 30, 2024 3

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.

xinzhuohkust avatar xinzhuohkust commented on July 30, 2024 1

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.

kathryn-willi avatar kathryn-willi commented on July 30, 2024 1

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.

josiwala avatar josiwala commented on July 30, 2024

I'm also having this issue.
2023-02-14 15_37_14-Window

from rselenium.

sophk1 avatar sophk1 commented on July 30, 2024

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.

JuKo007 avatar JuKo007 commented on July 30, 2024

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.

hafizmutther avatar hafizmutther commented on July 30, 2024

is anybody there who resolved this problem yet, let me know if as encountered with same issue

from rselenium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.