1.按照网上文章介绍尝试了本地hosts文件配置 127.0.0.1 localhost 无效(ping 连接是正常的)
2、关闭防火墙也是正常的
3、重新安装浏览器,selenium,Chromedriver.exe版本也对应
依然出现问题:
File "D:\Program Files\python_\lib\site-packages\selenium\webdriver\common\service.py", line 104, in start
raise WebDriverException("Can not connect to the Service %s" % self.path)
selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service chromedriver 请教各位大神的解决方案和回复?