5

Very often, when my local or remote instance of Firefox is automatically updated, it stops working with the most recent version of Selenium WebDriver. They simply become incompatible until next version of WebDriver is released.

What is the best way to handle such cases?

Shoud I turn off Firefox automated updates for the price of testing on outdated version of Firefox? Or there is some alternative?

asked Feb 25, 2015 at 19:05
3
  • 2
    You can have a look for Firefox ESR (Long Time support) here : mozilla.org/en-US/firefox/organizations/faq You still have a Firefox with "recent" upgrade, but with an old version number. Commented Feb 25, 2015 at 21:14
  • @Fabrice31, thank you. Did you have similar problems with compatibility? Did using ESR solved this problem for you? Commented Feb 25, 2015 at 22:10
  • 1
    I am using from months with no compatibility problem. The only risk is that the ESR releases come several days after the classic one. Commented Feb 25, 2015 at 22:16

1 Answer 1

3

I believe that you should uncheck "Install Maintenance Service" box during Firefox installation, in that case you should be protected from automatic updates.

Also avoid opening "About Firefox" window as Firefox is known to update itself when you open it.

In regards to what version of Firefox is supported, as per Using Selenium with JMeter's WebDriver Sampler guide

  1. Locate your selenium*.jar file
  2. Mention version number before the extension, i.e. if it is selenium-server-standalone-2.41.0.jar then version is 2.41.0
  3. Open Selenium Java Changelog
  4. Look for "2.41.0" version

Voila

v2.41.0

=======

WebDriver:

  • Update to support native events for Firefox 28 (removed native event support for Firefox 26). Native events are now supported for the following Firefox versions:

    17 (immediately previous ESR release)

    24 (current ESR release)

    27 (immediately previous release

    28 (current release)

  1. Download one of the mentioned versions from Mozilla FTP Site and get pie.

Hope this helps.

answered Feb 26, 2015 at 15:41

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.