Selenium failing to open chrome 109 with Chromedriver 109

1,111 views
Skip to first unread message

Bob Sleik

unread,
Jan 13, 2023, 1:58:49 PM1/13/23
to ChromeDriver Users
I'm using rSelenium to open Chromedriver 109.0.5414.74 with Chrome  109.0.5414.75 and it will not open a Chromedriver session with the rsDriver function on Windows 10.

It returns, unable to determine server status and you don't see 

If I choose the Chromedriver version 108.0.5359.22, it will open a session.

Not sure how long Chromedriver version 108 will continue to work with Chrome 109 as a workaround.  Anyone else experiencing this or found a resolution?

Bob

Amit Jain

unread,
Jan 15, 2023, 1:18:00 PM1/15/23
to ChromeDriver Users
I am also facing same problem. For me Chromedriver 108 is also not working.

Bob Sleik

unread,
Jan 15, 2023, 8:42:20 PM1/15/23
to Amit Jain, ChromeDriver Users
I've been able to take a copy of the wdman package and do a one character fix to one of the functions and install the updated version to get it working again.  

The problem is caused because as of Chrome driver 109, there is now also a license file in the Chrome driver folder and the function is picking up that license file and driver instead of just the driver and passing both to java when opening selenium along with the Chrome driver.

I've contacted the developer for that package, but haven't heard back yet. I can share the change or possibly upload the new working version to GitHub for installing from GitHub if you are set up to do that.

Bob 

--
You received this message because you are subscribed to a topic in the Google Groups "ChromeDriver Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/chromedriver-users/0Jp8dIDlv-I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chromedriver-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chromedriver-users/29fdbbb9-2f65-4696-89a7-169909f4f3f8n%40googlegroups.com.

Amit Jain

unread,
Jan 15, 2023, 11:32:52 PM1/15/23
to ChromeDriver Users
What do you mean by  wdman? How do we use license file? I have kept both driver and license file in same folder but no luck. Could you share the executable with the fix or guide how to fix it?
Message has been deleted

Bob Sleik

unread,
Jan 16, 2023, 4:48:41 PM1/16/23
to ChromeDriver Users
In R, run the following command to see where your packages are stored:
.libPaths()

In windows explorer, navigate to the folder.

Delete wdman folder.

Download the updated wdman.zip file from the following link and save it in that folder.  This contains the fixed wdman library/package used by rSelenium.

https://drive.google.com/file/d/1AsDkDMF2Dg20HS4FYbflIBRBwlwajikN/view?usp=sharing

Right mouse click on the zip file in that folder and Select Expand All.  Accept the default expanding-to folder. 

Restart R, load the rSelenium library and try again.

Bob

Hector Lopez

unread,
Feb 28, 2023, 12:07:42 AM2/28/23
to ChromeDriver Users
Thank you so much. 
Would you have a newer version? I tried your google drive but my R is complaining  package ‘wdman’ was installed before R 4.0.0: please re-install it
Or, alternatively, what was the one character fix? I believe is some kind of [1] because it seems its appending the driver and the license file names.
I have no experience creating my own libraries.
Thanks
Hector

Bob Sleik

unread,
Feb 28, 2023, 10:11:56 AM2/28/23
to ChromeDriver Users

Change required to chrome.R in the source code of the wdman source downloadable from github at https://github.com/ropensci/wdman.git

or the zip from:

https://github.com/ropensci/wdman/archive/refs/heads/master.zip

 

 

chromepath <- list.files(chromedir,

    pattern = "^chromedriver($|.exe$)",

    full.names = TRUE

  )

 

Open the r project in RStudio, do the change to chome.R, save it, then select Build / Build Source Package or Build Binary Package.  The latter will require Rtools to be installed.  A source package won’t require that.

 

Bob

Reply all
Reply to author
Forward
0 new messages