Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last Windows 64 Stable API #39

Closed
stevensmith01 opened this issue Jul 11, 2022 · 4 comments
Closed

Last Windows 64 Stable API #39

stevensmith01 opened this issue Jul 11, 2022 · 4 comments
Labels
feedback Feedback, discussion, or question about EdgeDriver

Comments

@stevensmith01
Copy link

Is there an API to get the latest stable windows version of Microsoft Edge? The current API appears to give Linux and Mac versions but there isn't always a Win version associated. The web driver download page appears to be broken as well. So I am trying to read the API to make sure I download the latest version of the windows Web driver for my users.

@stevensmith01 stevensmith01 added the feedback Feedback, discussion, or question about EdgeDriver label Jul 11, 2022
@bwalderman
Copy link
Member

Hi @stevensmith01. The broken downloads page is a known issue that we're tracking internally.

For the API issue, can you please point me to the exact API are you referring to?

@stevensmith01
Copy link
Author

stevensmith01 commented Jul 11, 2022

https://msedgewebdriverstorage.blob.core.windows.net/edgewebdriver/LATEST_STABLE

I couldn't find a published list of endpoints. So I started to use this url but I have found that the version returned here doesn't always mean there is a matching windows version in the repository.

@stevensmith01
Copy link
Author

This endpoint returns 103.0.1264.51 today. When I go to the full directory, it only shows a mac and Linux driver for this version.image

@bwalderman
Copy link
Member

Hi @stevensmith01, as you found, the LATEST_STABLE endpoint isn't reliable because it doesn't always point to a Windows release. It only points to the latest stable channel release on any platform, whatever that happens to be.

The most reliable method to download Edge WebDriver would be to find your currently installed Edge browser version first. How to get the version information for a windows executable will depend on what language you are using. Once you have this information, you can download the exact matching driver using a URL such as https://msedgedriver.azureedge.net/103.0.1264.44/edgedriver_win64.zip. Substitute the version string with the Edge browser version.

If for some reason that fails, there are platform-specific endpoints you can use instead. First you need to know the major version of the Edge browser that is currently installed, e.g. 103. Then, use one of the following URLs, substituting the version number for your current Edge version:

https://msedgedriver.azureedge.net/LATEST_RELEASE_103_WINDOWS
https://msedgedriver.azureedge.net/LATEST_RELEASE_103_MACOS
https://msedgedriver.azureedge.net/LATEST_RELEASE_103_LINUX

You may also be interested in a tool like WebDriverManager that automates this process for all major browsers, including Edge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback Feedback, discussion, or question about EdgeDriver
Projects
None yet
Development

No branches or pull requests

2 participants