r/SeleniumPython • u/Complex_Eggplant7904 • Mar 12 '25
chrome driver and chrome browser mismatch versions
I can't get to match the versions of chromedriver and chrome browser
last version of chromedriver is .88
last version of google chrome is .89 ( it updated automatically so it broke my script)
yes, google provide older versions of chrome, but doesnt give me an install file, it gives me a zip with several files ( as if it were installed, sort of- sorry, im newbie) , and I dont know what to do with that
could someone help ? thanks!
edit: IDK what I did, it just started working. After that, it broke again and mismatched the versions.
then, deleting C:\Users\MyUser\.wdm FIXED IT
1
u/mortenb123 Mar 12 '25
chrome and chromedriver must match. Use this page https://googlechromelabs.github.io/chrome-for-testing/
Install latest chrome, then put the chromedriver that matches into your path.
running chromedriver --version directly in your bash/poweshell should ouput something that matches your google-chrome --version.
The selenium will take care of the rest.
1
u/Floryda_Guennoc 4d ago
newer versions of the library actually handle the driver management natively now, so if you update your package and remove the external driver manager code it usually stops caching the wrong version like that