To find the old chromedriver, first you open (mine is window) cmd and run chromedriver.exe. Then you go to Task Manager by press Ctrl + Shift + Esc keys. Then go to Processes (you might need to click on your user if your machine has more than one user). Find the process "chromedriver", right click and select Open File Location.. chromedriver-py downloads and installs the latest chromedriver binary version for automated testing of webapps. the installer supports linux, mac and windows operating systems. this package is maintained by an automated update script on travis. if a new chromedriver version is out, this package will automaticly get updated within a day.
Normally to fix this error: selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 97 Current browser version is 99.xxx I have to find out which version of chromedriver I need, download the file, unzip, and clean up my workspace. Time for some automation. (If you're comfortable with shell scripts or just.. Chrome frequently updates automatically causing ChromeDriver versions to mismatch. Using PowerShell you can download the correct version of the ChromeDriver and keep it up-to-date.