具体报错信息如下:
selenium.common.exceptions.WebDriverException:Message: Can not connect to the Service chromedriver

遇见这个坑爹的问题,卡了我一天多,卸载重装了python 和浏览器N边,还是不行,最后发现问题出现在了 hosts文件里面 少了127.0.0.1 localhost

 # localhost name resolution is handled within DNS itself.# 127.0.0.1       localhost# ::1  localhost::1  localhost

把 # 127.0.0.1 localhost前面的#号去掉就OK了

Can not connect to the Service chromedriver的解决方法相关推荐

  1. 运行selenium脚本,出现Can not connect to the Service chromedriver解决方法汇总!

    今天运行selenium脚本,出现Can not connect to the Service chromedriver 这个错误. 我大概百度一下,主要两种解决方法: 第一种.修改hosts里面的内 ...

  2. 转)VCSA 6.5重启无法访问,报错“503 Service Unavailable”的解决方法

    转)VCSA 6.5重启无法访问,报错"503 Service Unavailable"的解决方法 1. 问题 重启vcenter,登陆vsphere client,提示 &quo ...

  3. Can't connect to MySQL server (10060)异常解决方法

    Can't connect to MySQL server (10060)异常解决方法 出现这种现象的原因有两个,一个是当前用户被mysql服务器拒绝,另外一个原因是3306端口被被防火墙禁掉,无法连 ...

  4. 安装tomcat出现failed to install tomcat8 service错误及解决方法

    安装tomcat出现failed to install tomcat8 service错误及解决方法 参考文章: (1)安装tomcat出现failed to install tomcat8 serv ...

  5. 网站出现service unavailable的解决方法

    网站出现service unavailable的解决方法 参考文章: (1)网站出现service unavailable的解决方法 (2)https://www.cnblogs.com/lazb/p ...

  6. can t connect to mysql server on ‘localhost‘解决方法

    can t connect to mysql server on 'localhost'解决方法 参考文章: (1)can t connect to mysql server on 'localhos ...

  7. mycat重启报错Failed to connect to the Wrapper at port解决方法

    mycat重启报错Failed to connect to the Wrapper at port解决方法 参考文章: (1)mycat重启报错Failed to connect to the Wra ...

  8. linux mysql安装教程 方大帝_discuz论坛出现Can not connect to MySQL server错误的解决方法...

    网站出现了问题,大家一定很着急吧,特别是做网站的,这几天有一台MySQL数据库服务器频繁出现掉线,经排查,并没有哪个网站受攻击,网上搜索了一下,很多人都碰到这问题,全是Windows系统上安装MySQ ...

  9. ORA-12519: TNS:no appropriate service handler found 解决方法

    ORA-12519: TNS:no appropriate service handler found 解决 注意:首先腰登录DBA管理 select count(*) from v$process ...

最新文章

  1. java代码使用http请求解压zip包并解析xml_Javascript 是如何解析 Excel 文件的?
  2. luogu P3850 [TJOI2007]书架(平衡树、无旋treap(按排名分裂))
  3. epson机器人编程 范例_2019年机器人盘点(IREX篇)
  4. LINQ to SQL: DataContext.SubmitChanges() 失效问题
  5. linux系统命令行基础知识点
  6. c语言会员卡管理系统,路西牌会员管理系统。
  7. Spring精华问答 | Spring Boot有哪些优点?
  8. leetcood学习笔记-167-两数之和 II - 输入有序数组
  9. 解决办法:apt: 未找到命令
  10. 人工客服——图灵机器人教程
  11. 什么是驻点和拐点_驻点、极值点、拐点间的“爱恨情仇”
  12. vba 添加outlook 签名_如何在Office 365中为VBA宏创建自签名数字证书
  13. MySQL原理与实践(一):一条select语句引出Server层和存储引擎层
  14. C# 读取西门子S7系列PLC教程及源码
  15. Day524.其他数据库日志 -mysql
  16. 记半次元App数据解密记录
  17. QML <2> Canvas 自定义绘制 网易云歌单封面实现
  18. 最短路构造最短路95 C. Volleyball
  19. 计算机取证(Windows)FTK+X-Way取证复制
  20. command-codes

热门文章

  1. vue实现页面锁屏完美解决
  2. 编程达人教你如何快速掌握一门编程语言附技术书阅读方法论
  3. CSS3动画animation认识和Animate.css的使用
  4. matlab自带的优化工具箱,MATLAB 自带优化工具箱(optimization Tool)之遗传算法简述...
  5. window系统 实现FFmpeg 录制音视频
  6. 牛客网之黑暗的字符串
  7. AI未来是什么样子,这些科幻电影里已经有了答案
  8. STM32F4应用-GPIO
  9. Modern Robotics读书笔记(一)
  10. Visual Studio 2022 中的键盘快捷方式