开发者

Selenium WebDriver + Firefox 7.0.1 incompatibility

开发者 https://www.devze.com 2023-04-12 21:44 出处:网络
I have a project where we have some Selenium tests. I 开发者_JAVA技巧have recently upgraded Firefox to 7.0.1 because it prompted me to and now the \"WebDriver for Firefox\" extension that these tests

I have a project where we have some Selenium tests. I 开发者_JAVA技巧have recently upgraded Firefox to 7.0.1 because it prompted me to and now the "WebDriver for Firefox" extension that these tests use is broken.

Selenium WebDriver + Firefox 7.0.1 incompatibility

How can I fix this? Must I uninstall this current version of Firefox and install an older one? Or is there a file I can edit to tell it to ignore that the version is different?


An upgrade to Selenium webdriver to 2.8 would probably solve it.

http://web.archive.org/web/20120115040501/http://selenium.googlecode.com/svn/tags/selenium-2.8.0/rb/CHANGES

Unfortunately this has been the case for every Firefox upgrade since 5.0


I would try with the latest selenium-webdriver. I run Firefox 7.0.1 as well and it works with selenium-webdriver 2.8.0.


You can tell Firefox to ignore plugin and extension versions.

  1. Type about:config in the browser address bar
  2. Right-click and create a new boolean value called extensions.checkCompatibility.7.0
  3. Set this value to false

That should prevent the plugin raising an issue with its version compatibility to 7.0.1


i am working with FF-8. Just change the firefox version from standalone.jar. For this unzip your jar file with unzipper and search for install.rdf files in the unzipped files. Open them in word pad and change version. you can add the latest version of browser. There are five or six files that to be changed. after doing that again zip them change to extension .jar

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号