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

Different artifacts version for Edge in Linux and MacOS when requesting the Edge updates API #175

Open
todayumay opened this issue Nov 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@todayumay
Copy link

todayumay commented Nov 13, 2024

I'm developing an app that requires fetching the latest browser and relevant web driver release builds for the selected platform and release channel on start.

Currently, I'm faced with an issue when trying to fetch the relevant Edge web driver version artifacts for Linux/MacOS platforms:

  1. At first, I request the latest browser version using REST API Endpoint - 'https://edgeupdates.microsoft.com/api/products'
    it responds with the latest browser release version string that contains build artifacts for all the platforms - see below:
    • '130.0.2849.80' (the release contains artifacts for Windows, Linux, and MacOS platforms as well as for Android and iOS).
  2. Secondly, I request the latest driver version using REST API Endpoint - 'https://msedgedriver.azureedge.net/LATEST_STABLE'
    it responds with the latest driver release version string that seems to be relevant to the Windows platform only - see below:
    • '130.0.2849.80' (the release contains artifacts for the Windows platform only - there are not any Linux or MacOS-related artifacts).

So, when I tried to download artifacts for any Linux/MacOS-based architecture I found it didn't exist on the build server.

Then I tried to extract the major version part to fetch the latest browser version for the Linux or MacOS platform using a more direct request to 'https://edgeupdates.microsoft.com/api/products/LATEST_RELEASE_<version_major_part>_' Endpoint -
it gave me the following results for the '130' release version that differ from the version '130.0.2849.80' I got before:
• '130.0.2849.78' (for Linux64 platform - linux64)
• '130.0.2849.81' (for MacOS platform - mac64 and mac64_m1)

As shown above, there are no web driver artifacts for Linux and MacOS for the browser version returned by the server.
How can I properly determine what web driver version should I use based on the browser version given in such cases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant