Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98259

undetected chrome driver- mismatch between chromedriver and chrome version

$
0
0

im running the following code using undetected_chromedriver:

import undetected_chromedriver as ucdriver = uc.Chrome()

im getting the following error:

selenium.common.exceptions.SessionNotCreatedException: Message:session not created: cannot connect to chrome at 127.0.0.1:42071 fromsession not created: This version of ChromeDriver only supports Chromeversion 131 Current browser version is 130.0.6723.116

My google chrome version is (Google Chrome 131.0.6778.69)

My chrome driver version is (ChromeDriver 131.0.6778.69)

Despite the fact that both Chrome and ChromeDriver versions match, I am still encountering a version mismatch error.

Additionally, when executing the script, there is a 50% chance that the code will run successfully without triggering the above error.

Any ideas?


Viewing all articles
Browse latest Browse all 98259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>