Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

This version of ChromeDriver only supports Chrome version 102

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

like image 277
Angel Wang Avatar asked Nov 17 '25 03:11

Angel Wang


1 Answers

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.

like image 194
misantroop Avatar answered Nov 18 '25 16:11

misantroop



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!