1. The problem
This error message indicates that the version of ChromeDriver you are using is not compatible with the version of Google Chrome installed on your computer. At this time, you have two solutions, one is to change the version of Chrome, and the other is to re-download the version of ChromeDriver . Obviously, it is preferable to re-download the version of ChromeDriver.
2. Check the version of Chrome browser
First open the Chrome browser, select and check Help , find the About Google Chrome option , and click to view the Chrome version, as shown in the figure below:
Obviously, my Chrome browser version is 114. Therefore, we can download the corresponding 114ChromeDriver driver!
3. Download the ChromeDriver driver
Click the ChromeDriver download address , and find the Driver version that matches the Chrome browser on the current computer on the corresponding webpage.
After selecting the corresponding version, select the corresponding zip file to download according to the computer's own operating system (Windows, Mac, Linux, etc.). I use a Windows version of the computer, so I chose chromedriver_win32.zip, as shown below.
4. Unzip and put it in the Python environment
Unzip the chromedriver_win32.zip file downloaded in the previous step, and you can see the chromedriver.exe executable file. Put this executable file in the corresponding python environment to solve the problem, as shown in the following figure: