提示chrome driver沒有放置在正確的路徑下
解決方法:
1.chromedriver與chrome各版本及下載地址
驅動的下載地址如下: http://chromedriver.storage.googleapis.com/index.html
下載chrome dirver,然后放置到/usr/bin的目錄下,再次運行就OK了
wget http://chromedriver.storage.googleapis.com/2.40/chromedriver_linux64.zip
參考博文:
selenium自動化測試資源整理(含所有版本chrome、chromedriver、firefox下載鏈接)