浏覽器版本過高,驅動比較低導緻的,需要下載下傳和目前浏覽器版本對應的驅動:
chromedriver的版本一定要與Chrome的版本一緻,不然就不起作用。
有兩個下載下傳位址:
1、http://chromedriver.storage.googleapis.com/index.html
2、https://npm.taobao.org/mirrors/chromedriver/
找到版本:http://chromedriver.storage.googleapis.com/index.html?path=91.0.4472.19/