zoukankan      html  css  js  c++  java
  • 解决selenium和FireFox版本不兼容问题

    相信很多同学刚接触selenium时,在Eclipse中打开fireFox浏览器时会报错:org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.
     
    在网上找了好多方法,其实这是selenium的jar包和火狐浏览器版本不兼容,因为FireFox更新的非常快
     
    然后就开始找selenium版本与对应firefox版本匹配的记录
     
    各firefox版本下载地址(ftp上下载较慢,建议直接百度上找对应版本下载)
     
    http://ftp.mozilla.org/pub/firefox/releases/
     
    各selenium jar包下载地址
     
    http://selenium-release.storage.googleapis.com/index.html
     
    另外说一下在http://www.seleniumhq.org/download/
     

     有selenium版本对应Firefox版本的说明,大家可以根据自己的版本查找下载。

     比如

    v2.53.1
    =======
    
    Firefox:
        * Update to allow use with Firefox 47.0.1
    selenium-server-standalone-2.53.1.jar
    firefox47
  • 相关阅读:
    javajava.lang.reflect.Array
    基于annotation的spring注入
    jquery插件
    spring的注入方式
    jqueryajax
    javascript基础
    xml基础
    js 获取FCKeditor 值
    TSQL 解析xml
    Linq
  • 原文地址:https://www.cnblogs.com/autobyme/p/6402543.html
Copyright © 2011-2022 走看看