成功解决BUG:selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 94
Current browser version is 114.0.5735.199 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
Article Directory
Abnormal Interpretation
When using Python to operate selenium, the following error occurs:
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 94
Current browser version is 114.0.5735.199 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
The translation of the error into Chinese is:
chromedriver.exe
The version is wrong.
The actual encoding error is shown in the image below.
Solutions
This bug is caused by a low version of the Chrome driver (chromedriver). We can go to the corresponding URL to find the specified chromedriver version.
Download address: https://registry.npmmirror.com/binary.html?path=chromedriver/
Check your local Chrome version before downloading.
Next, find the driver corresponding to your local version.
other learning materials
- "Snowball Learning Python" column and physical book: https://dream.blog.csdn.net/article/details/131268344
- 《100 examples of reptiles》: https://blog.csdn.net/hihell/category_9280209.html
- 《Python爬虫120》:https://blog.csdn.net/hihell/category_11079529.html