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

Edgedriver storage bucket listing XML is not updated since version 125.0 #146

Closed
vania-pooh opened this issue May 28, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@vania-pooh
Copy link

vania-pooh commented May 28, 2024

Edgedriver binaries are stored in a bucket here: https://msedgedriver.azureedge.net/ The only way to get a list of available driver versions in a script is parsing XML listing returned with GET https://msedgedriver.azureedge.net/ request. Since driver version 125.0 this listing is not updated. However on the official webdriver page you have newer versions like 125.0, 126.0 and so on: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/?form=MA13LH#downloads Please fix this listing to show newer versions or suggest another way to get a list of available browser versions. We are using Edgedriver in CI, so manually reading a web page is not a solution.

Screenshot 2024-05-28 at 18 19 18
@vania-pooh vania-pooh added the bug Something isn't working label May 28, 2024
@vania-pooh
Copy link
Author

Ok, this is not an issue. This API https://msedgedriver.azureedge.net/ is a CDN over Azure Blob Storage (S3 bucket equivalent). In order to list all versions you have to iterate over blob storage keys like this:

curl -sL -H 'Accept: application/xml'  'https://msedgewebdriverstorage.blob.core.windows.net/edgewebdriver?comp=list&marker=XXX'

Value for marker parameter should be taken from /EnumerationResults/NextMarker key of XML output. When this value is empty, you should stop iterating over pages. Related docs: https://learn.microsoft.com/en-us/rest/api/storageservices/enumerating-blob-resources#Subheading2

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