码迷,mamicode.com
首页 > 其他好文 > 详细

解决Selenium与firefox浏览器版本不兼容问题

时间:2017-02-20 17:33:09      阅读:334      评论:0      收藏:0      [点我收藏+]

标签:exce   com   get   change   connected   不兼容   log   down   google   

因为在用java打开firefox浏览器的时候报错

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

在网上查阅了说是兼容问题

然后就开始找selenium版本与对应firefox版本匹配的记录

各firefox版本下载地址

http://ftp.mozilla.org/pub/firefox/releases/

各selenium jar包下载地址

http://selenium-release.storage.googleapis.com/index.html

在selenium下载页面 http://www.seleniumhq.org/download/ (需FQ) 各个版本的changelog中,会记录支持的firefox版本,如下所示:

里面可以找到对应的记录,仔细阅读即可。

解决Selenium与firefox浏览器版本不兼容问题

标签:exce   com   get   change   connected   不兼容   log   down   google   

原文地址:http://www.cnblogs.com/gyf-strive/p/6420495.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!