Open Tuinslak opened 12 months ago
I think this is the same issue I have on an arm Mac, it downloads amd64 not aarch64
Selenium Manager shipped within the linux arm64 driver (for example firefox last one https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-linux-aarch64.tar.gz ) doesn't work on linux-arm64, Yes because the arch is x86 for the selenium-manager, wondering why the binary has been built not for arm64 making troubles. There is a qemu workaround that solves this, I assume it is slower but works...
sudo apt install binfmt-support qemu qemu-user-static
by the way @SergeyPirogov , you need to take care of ubuntu users that does not have firefox but firefox-esr as binary else your manager is unable to find and trigger firefox until doing a symlink with
sudo update-alternatives --install /usr/bin/firefox firefox /usr/bin/firefox-esr 100
I think it replies as well to question of @stuaxo in https://github.com/SergeyPirogov/webdriver_manager/issues/619 . I replied first on https://stackoverflow.com/questions/76857893/is-there-a-known-working-configuration-for-using-selenium-on-linux-arm64/77099069#77099069
Interesting, for Firefox I didn't get into trying too far, since it turns out the codebase I'm working with only used Chrome.
While I do have Chrome for amd64 installed, I'm in a constrained VM so prefer not to do that, Chromium and it's webdriver are already installed in the system so I'd prefer the system to use those than what it does now.
Looks like aarch64 under Linux is not properly recognised. The file exists under releases (https://github.com/mozilla/geckodriver/releases -> geckodriver-v0.33.0-linux-aarch64.tar.gz )
Inside docker, the script fails:
The downloaded file is an amd64 file: