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

ChromeDriver not getting installed for newer Chrome versions #85

Closed
kazo0 opened this issue Aug 3, 2023 · 1 comment
Closed

ChromeDriver not getting installed for newer Chrome versions #85

kazo0 opened this issue Aug 3, 2023 · 1 comment

Comments

@kazo0
Copy link
Contributor

kazo0 commented Aug 3, 2023

Attempting to run the WASM UI Tests with a fresh machine with Chrome above v114.0.5735.90 will not work.

chromedriver.exe is no longer available using the following method:

// Chrome driver selection: http://chromedriver.chromium.org/downloads/version-selection
var chromeDriverLatestVersionUri = $"https://chromedriver.storage.googleapis.com/LATEST_RELEASE_{chromeVersion.Major}";
Console.WriteLine($"Fetching Chrome driver version for Chrome [{chromeRawVersion}]");
var driverVersion = new WebClient().DownloadString(chromeDriverLatestVersionUri);
var chromeDriverVersionUri = $"https://chromedriver.storage.googleapis.com/{driverVersion}/chromedriver_win32.zip";
var tempZipFileName = Path.GetTempFileName();

Notice the alert on the ChromeDriver download page

image

We should now be using the Chrome for Testing availability Dashboard which provides a list of JSON API Endpoints for automation scripts to download the proper chromedriver versions

fyi @jeromelaban @nickrandolph: this was the cause of Rafael's issues with UITesting the WASM apps

@nickrandolph
Copy link
Contributor

Fixed by #35

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

No branches or pull requests

2 participants