Instead of manually going to https://chromedriver.chromium.org/downloads and download the chromedriver manually.
This code snippet checks for your current chrome version and updates it accordingly.
If chromedriver does not exists, it will download the lastest version.
- Windows
- Mac
- Linux
- To download a specific chrome version.
download_lastest_chromedriver(current_chrome_version="<insert your chrome version here>")
- To download a latest chrome version.
download_lastest_chromedriver()