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

Intel Mac downloading Apple arch geckodriver instead of x86 #508

Open
dstanich opened this issue Jan 25, 2022 · 0 comments
Open

Intel Mac downloading Apple arch geckodriver instead of x86 #508

dstanich opened this issue Jan 25, 2022 · 0 comments

Comments

@dstanich
Copy link

Issue is similar to #476, however this is happening for geckodriver now.

Output below is done with a fresh install of webdriver-manager. Happy to provide any other debug if needed.

webdriver-update to get the drivers. Note it's getting geckodriver-v0.30.0-macos-aarch64.tar.gz instead of xxxx-macos.tar from here.

➜  webdriver-test node_modules/.bin/webdriver-manager update
webdriver-manager: using local installed version 12.1.8
[09:11:34] I/config_source - curl -o/Users/dave/code/webdriver-test/node_modules/webdriver-manager/selenium/standalone-response.xml https://selenium-release.storage.googleapis.com/
[09:11:34] I/config_source - curl -o/Users/dave/code/webdriver-test/node_modules/webdriver-manager/selenium/chrome-response.xml https://chromedriver.storage.googleapis.com/
[09:11:34] I/config_source - curl -o/Users/dave/code/webdriver-test/node_modules/webdriver-manager/selenium/gecko-response.json https://api.github.com/repos/mozilla/geckodriver/releases
[09:11:46] I/downloader - curl -o/Users/dave/code/webdriver-test/node_modules/webdriver-manager/selenium/chromedriver_97.0.4692.71.zip https://chromedriver.storage.googleapis.com/97.0.4692.71/chromedriver_mac64.zip
[09:11:46] I/downloader - curl -o/Users/dave/code/webdriver-test/node_modules/webdriver-manager/selenium/geckodriver-v0.30.0.tar.gz https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-macos-aarch64.tar.gz
[09:11:46] I/downloader - curl -o/Users/dave/code/webdriver-test/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.141.59.jar https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar
[09:12:08] I/update - geckodriver: unzipping geckodriver-v0.30.0.tar.gz
[09:12:08] I/update - geckodriver: setting permissions to 0755 for /Users/dave/code/webdriver-test/node_modules/webdriver-manager/selenium/geckodriver-v0.30.0
[09:12:11] I/update - chromedriver: unzipping chromedriver_97.0.4692.71.zip
[09:12:11] I/update - chromedriver: setting permissions to 0755 for /Users/dave/code/webdriver-test/node_modules/webdriver-manager/selenium/chromedriver_97.0.4692.71

Running the extracted binary shows error about wrong arch type.

➜  webdriver-test /Users/dave/code/webdriver-test/node_modules/webdriver-manager/selenium/geckodriver-v0.30.0
zsh: bad CPU type in executable: /Users/dave/code/webdriver-test/node_modules/webdriver-manager/selenium/geckodriver-v0.30.0

Manually downloading and running the other MacOS tar file works as expected.

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

1 participant