I'm using VS Code and Anaconda3. Currently trying to install ChromeDriver_Binary but, when I try to execute code, I get this error:
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 102
Current browser version is 100.0.4896.127 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
One option is to use chromedriver-autoinstaller to do it all at once:
import chromedriver_autoinstaller as chromedriver
chromedriver.install()
Alternatively use chromedriver-binary-auto to find the required version and install the driver:
pip install --upgrade --force-reinstall chromedriver-binary-auto
import chromedriver_binary
No restarting is required.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With