VBA for downloading correct version of ChromeDriver?

143 views
Skip to first unread message

Don Leverton

unread,
Jul 27, 2023, 5:57:21 PM7/27/23
to ChromeDriver Users

This question sort of "piggy-backs" on a previous conversation: How Do I Automatically Update the ChromeDriver or EdgeDriver in VBA?

As of Chrome version 115 ... they have a new directory structure. https://googlechromelabs.github.io/chrome-for-testing/

Chrome: https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.110/win64/chrome-win64.zip

ChromeDriver: https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.110/win64/chromedriver-win64.zip

As usual they have no code for VBA. JSON: https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json

The GOOD news is that Chrome and ChromeDriver are now guaranteed to match as they are both updated concurrently.

he BAD news is that you still have to download and install ChromeDriver as a separate task.

Google updates are handled by our IT department, so I'm at a loss to code this to: A) Check the current version of Chrome. (Can use existing method of obtaining it from the Windows Registry?) b) Downloading and installing the matching ChromeDriver.

I need someone smarter than me to create the correct VBA code to do this, please.

This is new, and attempts to re-write have been unsuccessful

Reply all
Reply to author
Forward
0 new messages