运行时遇到错误: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

后查询得知是两者不兼容引起的问题。解决方法有:

1.  cong

用winrar打开selenium-server.jar
查找两个目录:customProfileDirCUSTFFCHROME和customProfileDirCUSTFF
搜索每个目录,对每个文件install.rdf,编辑如下行
<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.4.1</em:minVersion>
<em:maxVersion>3.5.*</em:maxVersion>
</Description>
</em:targetApplication>

<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.4.1</em:minVersion>
<em:maxVersion>3.6.*</em:maxVersion>
</Description>
</em:targetApplication>

最新文章

  1. ASP.Net Core 里是如何把一个普通的 Action 返回类型转换为某种 IActionResult 的
  2. 【SQL】分配函数一枚[AllotToTable]
  3. HDU 5497 Inversion
  4. 转)SSO单点登录在互联网电商应用中的解决方案(基于CAS的改造)
  5. OSG中的示例程序简介(转)
  6. 发送trim值
  7. switch函数——Gevent源码分析
  8. Linux Kernel 2.6.28 以上有BUG,系统运行第208.5天down机
  9. 14.19 InnoDB and MySQL Replication InnoDB 和MySQL 复制:
  10. css实现三列布局,左右固定值,中间自适应。
  11. Mvc Ajax提交多个checkbox,也说绑定和提交select
  12. h5 网页版的微博微信QQ登录
  13. Spring Boot学习总结二
  14. PHP_D4_“简易聊天室 ”的具体技术实现
  15. MSSQL2005-由嵌套失误感受到的强大智能优化功能
  16. 多路选择器实现总线结构——Verilog
  17. HTML5 ④
  18. PHP5.3的编译扩展
  19. C++与C的联系与区别
  20. Python 日志输出

热门文章

  1. 静态编译程序 依赖于 Qt 和 Opencv 静态库 会出现 jpeg jpg 图像格式保存崩溃的情况,这是什么原因?
  2. SharedPreferences封装类
  3. UVA1602
  4. span设置宽度有效无效问题
  5. Vue中method与computed的区别
  6. PyQt5多点触控写字板实现及困惑
  7. 【其他】Objective-C 内存管理学习总结
  8. 工业级GBDT算法︱微软开源 的LightGBM(R包正在开发....)
  9. Linux 的进程状态
  10. Caused by: java.lang.ClassNotFoundException: Could not load requested class : org.h2.Driver