Closed dd-eg closed 2 years ago
We parse edge webdriver version from the https://msedgedriver.azureedge.net/LATEST_RELEASE_103_WINDOW file. At the time of writing the latest available version is 103.0.1264.62
. We changed the link for downloading edge driver in scope of the https://github.com/actions/virtual-environments/pull/5106 PR "https://msedgedriver.azureedge.net/LATEST_RELEASE_$($EdgeVersion.Major)" -> "https://msedgedriver.azureedge.net/LATEST_RELEASE_$($EdgeVersion.Major)_WINDOWS" 5 months ago. I see your branch is quite stale, please pull the latest changes from the main
branch and rerun your build.
Ah-ha! I looked over the latest Install-Edge and missed that _WINDOWS suffix change :) Thank you for pointing that out, much appreciated!
Description
I saw Install-Edge.ps1 fail when running last week (14-Jul-2022) because the URL generated for the latest version of WebDriver was invalid -- for whatever reason, this version did not include an x64 download.
Platforms affected
Virtual environments affected
Image version and build link
I do not have a public example and am using a custom image. Here are the log messages from running the script though:
Is it regression?
No
Expected behavior
Install-Edge.ps1 should not fail if there is not a WebDriver release for the latest Edge version -- it would probably be better to install the latest version of Edge where a compatible WebDriver release is available. As Install-Edge.ps1 is currently written, the latest version of Edge is installed first, and then the WebDriver release is sought out.
Actual behavior
For reasons unknown to me, MS Edge Driver 103.0.1264.51 (https://msedgewebdriverstorage.z22.web.core.windows.net/?prefix=103.0.1264.51/) does not include an x64 download, and thus the URL https://msedgedriver.azureedge.net/103.0.1264.51/edgedriver_win64.zip is invalid.
Compare this to the release that has come out since then: https://msedgewebdriverstorage.z22.web.core.windows.net/?prefix=103.0.1264.62/
Repro steps
This would only be reproducible when the latest Edge WebDriver is missing the expected x64 download (i.e. with the now-current release, the script shouldn't fail).