selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 80
解决方案:本机的Chrome版本要和Chrome Drive版本一致,检查本机的Chrome版本如下:
![](http://www.fpsv.com/wp-content/uploads/2020/05/截屏2020-05-28-13.08.07-480x229.png)
然后到ChromeDriver下载页面下载符合本机的Driver版本即可:
https://chromedriver.chromium.org/downloads
![](http://www.fpsv.com/wp-content/uploads/2020/05/截屏2020-05-28-13.09.59-480x87.png)
![](http://www.fpsv.com/wp-content/uploads/2020/05/截屏2020-05-28-13.10.40-480x155.png)
如上图,我是mac机器,选择下载 chromedriver_mac64.zip 即可。错误排除!
发表评论