代码拉取完成,页面将自动刷新
Mirror of browser's drivers. The resource will be refreshed daily on HansBug/browser_drivers_mirror on huggingface.
# get latest version
wget -qO- 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/google/LATEST_RELEASE'
# download for linux
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/google/112.0.5615.49/chromedriver_linux64.zip'
# download for macos
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/google/113.0.5672.63/chromedriver_mac64.zip'
# download for windows
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/google/113.0.5672.63/chromedriver_win32.zip'
# get latest version
wget -qO- 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/firefox/LATEST_RELEASE'
# download for linux
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/firefox/v0.33.0/geckodriver-v0.33.0-linux64.tar.gz'
# download for macos
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/firefox/v0.33.0/geckodriver-v0.33.0-macos.tar.gz'
# download for macos (arch)
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/firefox/v0.33.0/geckodriver-v0.33.0-macos-aarch64.tar.gz'
# download for win64
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/firefox/v0.33.0/geckodriver-v0.33.0-win64.zip'
# download for win32
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/firefox/v0.33.0/geckodriver-v0.33.0-win32.zip'
# get latest version
wget -qO- 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/opera/LATEST_RELEASE'
# download for linux
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/opera/v.112.0.5615.87/operadriver_linux64.zip'
# download for macos
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/opera/v.112.0.5615.87/operadriver_mac64.zip'
# download for win64
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/opera/v.112.0.5615.87/operadriver_win64.zip'
# download for win32
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/opera/v.112.0.5615.87/operadriver_win32.zip'
# get latest version
wget -qO- 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/edge/LATEST_STABLE'
# download for linux
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/edge/112.0.1722.64/edgedriver_linux64.zip'
# download for macos
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/edge/113.0.1774.35/edgedriver_mac64.zip'
# download for win64
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/edge/113.0.1774.35/edgedriver_win64.zip'
# download for win32
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/edge/113.0.1774.35/edgedriver_win32.zip'
# get latest version
wget -qO- 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/ie/LATEST_RELEASE'
# download for win64
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/ie/selenium-4.8.0/IEDriverServer_x64_4.8.0.zip'
# download for win32
wget 'https://huggingface.co/HansBug/browser_drivers_mirror/resolve/main/ie/selenium-4.8.0/IEDriverServer_Win32_4.8.0.zip'
We recommend you to use hf-webdriver-manager instead of native command line. This is written in Python, can be installed with the following command:
pip install hf-webdriver-manager
Then use this in Python
from webdriver_manager.dispatch import get_browser_manager
# chrome, ie, edge, firefox, opera are supported
chrome = get_browser_manager('chrome')
print(chrome.browser_version) # version of browser, None when not installed
print(chrome.latest_version) # latest version
print(chrome.version_to_download) # version to download
print(chrome.driver_url) # online resource
# download and return the executable driver on your disk
# this can be directly used in selenium
print(chrome.driver_executable)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。