You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project on arm64 that uses webdriver_manager, unfortunately it's downloading the chromedriver for x86_64.
I'm running this in docker, where I install chromium and chromedriver, so I would be happy to use the system chromedriver[1], fact I don't even know if the corresponding version of the chromedriver to the chromium installed in ubuntu is easily available for download.
As a hack / workaround I generate a drivers.json to point at the correct chromedriver, is there an official way to do this ?
#!/bin/bash# use-system-chromedriverif [[ $(which chromedriver)=="" ]];thenecho"Chromedriver not found on the system."exit 1
fi
JSON="{\\"linux64_chromedriver_latest_for_\": {\\"timestamp\": \""$(date +%d/%m/%Y)"\",\\"binary_path\": \"/usr/bin/chromedriver\"\ }\}"echo"$JSON">~/.wdm/drivers.json
I have a project on arm64 that uses webdriver_manager, unfortunately it's downloading the chromedriver for x86_64.
I'm running this in docker, where I install chromium and chromedriver, so I would be happy to use the system chromedriver[1], fact I don't even know if the corresponding version of the chromedriver to the chromium installed in ubuntu is easily available for download.
Version: 4.0.0
OS: Ubuntu 22.04, aarch64 (In Qemu / on Mac m2)
As a hack / workaround I generate a drivers.json to point at the correct chromedriver, is there an official way to do this ?
Or oneliner, (for docker):
Originally I errorniously reported this here
bonigarcia/webdrivermanager#1125
The text was updated successfully, but these errors were encountered: