问题1:
‘chromedriver’ executable needs to be in Path
先确定使用的Chrome浏览器的版本
然后访问http://chromedriver.storage.googleapis.com/index.html
找到版本相对应的chromedriver
下载成功后放到 /usr/local/bin目录下
借鉴
https://www.cnblogs.com/LeslieForever/p/8317158.html
https://blog.csdn.net/qq_35982344/article/details/79608833
问题2:
WebDriverException: Message: Can not connect to the Service chromedriver