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

Fix: Update url in the downloader and tests #91

Conversation

KevinVanSonsbeek
Copy link
Contributor

Fixes #90

private const DOWNLOAD_ENDPOINT_JSON = 'https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing';
private const DOWNLOAD_ENDPOINT_JSON = 'https://storage.googleapis.com/chrome-for-testing-public';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the download URL change for previous versions as well, or are those still on edgedl.me.gvt1.com?
We'd want the download for all versions to still work, not just the latest version.

I like your suggestion in #90:

But possibly we should look into the option to resolve the download url, from the page we use to resolve the versions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The endpoint just returns a 404 now, as it seems to have been taken down completely.

I'll quickly have a look to see if i can find an endpoint from an older version, and see if that returns a 404 as well.

But https://googlechromelabs.github.io/chrome-for-testing/ just mentions the new URL now. For stable, beta, dev and canary

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oof. It seems only the new ones have actually moved. Which means we will need to add an additional check, with a third endpoint :/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The switch has been made when going from version 121.0.6166 to 121.0.6167 (looking at https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build-with-downloads.json)

Do you agree with adding an additional check with the specific patch version included? @dbrekelmans

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge this as a patch version. Would be nice to get a follow-up PR if you're willing to resolve the URL in the same way as the versions.

@KevinVanSonsbeek KevinVanSonsbeek marked this pull request as draft February 15, 2024 12:30
@KevinVanSonsbeek KevinVanSonsbeek marked this pull request as ready for review February 15, 2024 13:28
@dbrekelmans dbrekelmans merged commit 32488d5 into dbrekelmans:main Feb 15, 2024
14 of 23 checks passed
@KevinVanSonsbeek KevinVanSonsbeek deleted the fix/chromedriver-download-endpoint branch February 20, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Google chrome driver endpoint changed.
2 participants