Closed covid19ec closed 1 year ago
following this, as had the same issue...
same on my side, is the first time I see this error, happens with several browsers and I'm using selenium version 1.7.7. Likely has something to do with wdman since it is expecting a jar file (https://github.com/ropensci/wdman/blob/master/inst/yaml/seleniumserver.yml)
Installing a previous version of wdman solves this error (install.packages("https://cran.r-project.org/src/contrib/Archive/wdman/wdman_0.2.0.tar.gz",repos=NULL,type="source")) but another error appears just before connecting.
[https://github.com/ropensci/wdman/issues/31#issuecomment-1336651660]
Deleting the LICENSE.chromedriver file fixes this issue for me.
Finding the LICENSE.chromedriver file to delete:
library(wdman)
selenium(retcommand=T)
#delete the LICENSE.chromedriver file
yess!!! it solved the issue for me too, thanks @nbarsch !!
How did you delete the file?
Sent from my iPhone
On Dec 9, 2022, at 1:02 AM, gomez-L @.***> wrote:
CAUTION: [This message originated from OUTSIDE the TaylorMade organization]
yess!!! it solved the issue for me too, thanks @nbarschhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnbarsch&data=05%7C01%7Cjames.cornish%40taylormadegolf.com%7Cc9aa8cc4017c4c2142d108dad9c419d7%7C4f56e796915d4916a0f7066fbe562f07%7C0%7C0%7C638061733546729721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=d6y%2B6dwD%2Buzpr7HyVNUXLllXArbygTKoGvw%2F1whjC4E%3D&reserved=0 !!
— Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fropensci%2FRSelenium%2Fissues%2F264%23issuecomment-1344031802&data=05%7C01%7Cjames.cornish%40taylormadegolf.com%7Cc9aa8cc4017c4c2142d108dad9c419d7%7C4f56e796915d4916a0f7066fbe562f07%7C0%7C0%7C638061733546729721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=pogNzIr7r4yx3qb2F8VN4AzWY9JEQL3nEr%2Fp1d2cqEo%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA4T74VVKYZGQDGWKCHLL3VDWMLYSLANCNFSM6AAAAAASV5N7SE&data=05%7C01%7Cjames.cornish%40taylormadegolf.com%7Cc9aa8cc4017c4c2142d108dad9c419d7%7C4f56e796915d4916a0f7066fbe562f07%7C0%7C0%7C638061733546729721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EmFtOwTvk9CYr8DDitU3qBl0n8lmOp%2F1ud0e7fZtnsY%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>
How did you delete the file?
On linux:
sudo rm -rf /myusername/.local/share/binman_chromedriver/linux64/109.0.5414.25/LICENSE.chromedriver
On mac:
sudo rm /Users/myusername/Library/Application Support/binman_chromedriver/mac64/109.0.5414.25/LICENSE.chromedriver
You can find the file location/chromedriverversion which is printed in the output of:
library(wdman)
selenium(retcommand=T)
#delete the LICENSE.chromedriver file
Yes removing the chrome file and changing the wdman version solved the issue many thanks!
Thank you for the help. Worked for me too.
I got this same error with a very similar set up as above, including when running
wdman::selenium(retcommand=T)
I went through and deleted the file indicated (109.0.5414.25/LICENSE.chromedriver) and still continue to get the same error. I'm working on a Mac running on M1 but running RSelenium through Docker. If anyone has any suggestions it would be much appreciated!
In your case, as your are using a Docker container, I assume that your local chromedriver file will not be used by the docker container. Here will be important to check the version of wdman in the docker and what it is calling when launching the selenium driver (docker container filesystem). Could you give more information?
Hi, I'm trying to connect to the server from Windows 10 using R version 4.2.3 and Chrome browser, but I'm getting the same error. I've already tried deleting the LICENSE.chromedriver file but it's not working. driver <- rsDriver(browser = "chrome") checking Selenium Server versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking chromedriver versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking geckodriver versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking phantomjs versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD [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 4567 after 2229 ms: Connection refused Check server log for further details. Warning message: In rsDriver(browser = "chrome") : Could not determine server status.
Hi all. I am using Rselenium and today I got a weird issue. It was working until last friday but now it got crashed. I have updated main packages and also java but it is not working. This is what I get when I use next code:
When running the first remDr for rsDriver I got this:
And for the second remDr, it works but trying to use open it fails and shows next message:
How can I solve these issues? This is the session info: