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

v0.13.0 breaks wasm-pack test --chrome #1404

Open
s0l0ist opened this issue Jul 2, 2024 · 3 comments
Open

v0.13.0 breaks wasm-pack test --chrome #1404

s0l0ist opened this issue Jul 2, 2024 · 3 comments

Comments

@s0l0ist
Copy link

s0l0ist commented Jul 2, 2024

🐛 Bug description

Testing using the chrome driver fails because the URL doesn't exist (404). I cannot find the version string listed on the chrome for testing page.

🤔 Expected Behavior

The command should download a chrome test version from a valid link.

👟 Steps to reproduce

Simply run wasm-pack test --chrome or wasm-pack test --chrome --headless:

➜ wasm-pack test --chrome --headless
[INFO]: 🎯  Checking for the Wasm target...
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO]: ⬇️  Installing wasm-bindgen...
[INFO]: Getting chromedriver...
Error: failed to download from https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.90/mac-arm64/chromedriver-mac-arm64.zip
Caused by: failed to download from https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.90/mac-arm64/chromedriver-mac-arm64.zip
Caused by: https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.90/mac-arm64/chromedriver-mac-arm64.zip: status code 404

🌍 Your environment

wasm-pack version: 0.13.0
rustc version: 1.79.0 (129f3b996 2024-06-10)

@HaceraI
Copy link

HaceraI commented Jul 3, 2024

Same problem, now I can only get it to work properly after downloading chromedriver.exe from https://googlechromelabs.github.io/chrome-for-testing/#stable and specifying it via --chromedriver
like this: wasm-pack test --chrome --chromedriver=./chromedriver.exe --headless

@kade-robertson
Copy link
Contributor

It looks like Google is not hosting Chromedriver downloads for pre-v115.0.5763.0. This would be broken on v0.12.1 as well with the old repository.

@GopherJ
Copy link

GopherJ commented Aug 26, 2024

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

4 participants