Jump to content

One copy of chromedriver.exe shared by multiple computers


Go to solution Solved by Danp2,

Recommended Posts

Ever since I used webdriver, I have had only one copy of chromedriver.exe in a Microsoft OneDrive folder shared by multiple computers. That way it was OK if only one person took care of the chromedriver update.  The update of chrome.exe on each computer was everybody's responsibility. This arrangement worked fine until recently and multiple computers coud use the webdriver simultaneously.

After update of chrome.exe to 117.0.5938.89 and chromedriver to 117.0.5938.88, this setup stopped working. Only one computer could work at a time. The 2nd computer could not create a session, console debug information saying that the webdriver was for browser versions prior to 115.

My solution was creating a unique subfolder for each computer in the shared folder, where an independent copy of chromedriver.exe is stored. I hope my experience may be of help to someone.

Before change: 

_WD_Option('Driver', '..\webdriver\chromedriver.exe')

After change:

_WD_Option('Driver', '..\webdriver\' & @ComputerName & '\chromedriver.exe')


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...