selenium.common.exceptions.WebDriverException:Message: Can not connect to the Service chromedriver问题解决方案

是不是也遇到一样的问题了,为了解决这个问题 查了很多,耗费了一上午,但始终没有解决方案,

无意中找到一个解决方法:ping了一下本地,发现ping不同

 

于是通过查阅发现是防火墙的问题,关闭防火墙后,再次ping localhost

成功了再次运行selenium +webdriver ,成功启动浏览器,记录一下

 

posted @ 2018-08-31 14:09  (时光)光阴飞逝  阅读(8018)  评论(0)    收藏  举报