Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

selenium no longer working with upgrade of Firefox 22

  • 7 replies
  • 73 have this problem
  • 135 views
  • Last reply by LiLa222
  • Solved

I just upgraded to Firefox 22 from 21 now all of my Selenium tests are breaking. Is anyone else having this issue and do you know how to fix it? Thanks Here is the error I am getting: [error] Unexpected Exception: fileName -> chrome://selenium-ide/content/selenium-core/scripts/htmlutils.js, lineNumber -> 309, columnNumber -> 8

These test were running great before the upgrade.

I just upgraded to Firefox 22 from 21 now all of my Selenium tests are breaking. Is anyone else having this issue and do you know how to fix it? Thanks Here is the error I am getting: [error] Unexpected Exception: fileName -> chrome://selenium-ide/content/selenium-core/scripts/htmlutils.js, lineNumber -> 309, columnNumber -> 8 These test were running great before the upgrade.

Chosen solution

A bunch of APIs were removed from Firefox 22.

I'm always a little confused about the various component parts of Selenium. If you poke around the site, can you find an updated version of whatever it is you're using? http://www.seleniumhq.org/

Read this answer in context 👍 3

All Replies (7)

Chosen Solution

A bunch of APIs were removed from Firefox 22.

I'm always a little confused about the various component parts of Selenium. If you poke around the site, can you find an updated version of whatever it is you're using? http://www.seleniumhq.org/

Note that you can open such a chrome URL in a Firefox tab via the location bar to see what this code is about.
View Source will make it easier to find the line number.

I am seeing consistent FF22 crashes (not selenium but actual FF22) crashes on a pass of many sites. The crash rate is 2% to 5% and is a real problem. This only appeared on FF22 with no problems in FF21.

I have sent the crash report to FF multiple times.

Hi QueenstownSwords, if you would like to get to the bottom of those crashes, I suggest posting a new question and including several recent crash IDs. This article describes how to extract the IDs, and here is the link to start a new question:

I also have this problem. What can I do about it? Do anyone have a solution? Regards,

All, 3Dee here again. I was able to solve my problem by upgrading my Selenium. Fixes were made to Selenium to support FF 22. Thanks to all who made the fixes! 3Dee

Hi 3DEE,

Can I know the Selenium version that you were using? I m using 2.2.0 and still have the same problem .