成功解决BUG:Message: session not created: This version of ChromeDriver only supports Chrome version 94

成功解决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

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.exeThe version is wrong.

The actual encoding error is shown in the image below.

成功解决BUG:Message: session not created: This version of ChromeDriver only supports Chrome version 94

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.

成功解决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
Next, find the driver corresponding to your local version.
成功解决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

other learning materials

Guess you like

Origin blog.csdn.net/hihell/article/details/131690844