Selenium doesn't load on Firefox 4 - firefox

After a recent upgrade to Firefox 4, all of my automated selenium tests seem to be hanging on the initial 'Launching Firefox...' command during testing.
Has anyone seen a fix for this, or is my best bet to downgrade?

Have you updated to Selenium 2.0b3? Earlier versions don't support FF4.
** EDIT* *
RC2 is now available:
http://code.google.com/p/selenium/downloads/list

I was having the same issue. 'Launching Firefox' command, a blank Firefox window opens and the test hangs. Looking at the Firefox Add-ons the three extensions that Selenium installs were all incompatible and disabled. Turns out my test was still accidentally starting up the wrong selenium version. Switching to 2.0b3 fixed the issue.

Recommend you to use latest version of selenium with firefox 4. for me it is working fine withoutany problem.
I am using :
Selenium Server : selenium-server-2.0b2
I hope it helps.

Related

I am unable to run my scripts on firefox

My scripts are not running with firefox and I am using firefox version-49.0.1, Here is the error Selenium::WebDriver::Error::WebDriverError: unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055).
Downgrade your Firefox to 47.0.1 and try again.
Downgrade is an oppertunity but if you want to be sure that your tests run with the newest version of Firefox, you can run the Selenium-RC server look here.
In my case this fixed many compatibility issues. This works with every Firefox, Google Chrome and Internet Explorer version so far. Hower in my opinion your whole project would be ordered better.

Selenium 2.53.6 not working in Firefox 48.0.2

selenium.common.exceptions.WebDriverException: Message: Can't load the profile. Profile Dir: C:\Users\\AppData\Local\Temp\2\tmpc2_p3ubt If you specified a log_file in the FirefoxBinary constructor, check it for details.
When I try to run my Python script, Firefox is timing out. Does anyone have any suggestions on which versions i need to match?
Uninstall current firefox version than Download Firefox from this link https://ftp.mozilla.org/pub/firefox/releases/46.0.1/win64-EME-free/en-GB/Firefox%20Setup%2046.0.1.exe and then try again
Note : you have to uncheck automatic upgrade of firefox after install of 46 using below setps:
Goto Options
Goto advance
Under Firefox updates: Never check for updates (not recommended: security risk)
If you want to run on firefox >= 48 then you need to upgrade to selenium 3beta. https://seleniumhq.wordpress.com/2016/07/29/announcing-selenium-3-0-beta1/
It wont and its a known issue, Refer thread here
https://github.com/SeleniumHQ/selenium/issues/2559
Can't fix.
In Firefox 48, Mozilla requires extensions to be signed. They have
refused to sign Selenium's Firefox driver extension (webdriver.xpi).
Feel free to contact them and/or log an issue for them at
https://bugzilla.mozilla.org
The way forward now is to use GeckoDriver. Which is now the default
implementation used in 3.0-beta
This issue has been known as a long time coming, I highly recommend
pinning your automation to use Firefox 45 ESR until a release of using
GeckoDriver/marionette is stable enough for your tests.
Gecko Driver is a way forward.

How to disable the incompatible add-ons prompt at Firefox start?

I'm running some Robot Framework integration tests with Firefox 21.0 for Ubuntu. Recently my Firefox was updated and now it always pops up a prompt about incompatible add-ons when it starts. That's unacceptable, as then the tests cannot continue. The prompt looks like this:
There are several instructions about this on the web, but they are all either for some old version of Firefox or for some similar but not the same situation (like when Firefox asks whether to disable 3rd party plugins), or they require one to disable the compatibility check for each version of each add-on separately, so none of them seem to work. How do I get rid of the prompt for good?
Find the prefs.js file from your Firefox profile directory, then add this line into it:
user_pref("extensions.showMismatchUI", false);
Presto! No more warnings about incompatible add-ons.

Selenium RC 2.24.1 + Firefox 10.0.2 Profiles

After many tests with many old versions of Firefox (3.0.19, 3.6.28, 10.0.2) I have some trouble.
My last test was to launch "selenium-server-standalone-2.24.1.jar" with this args : -firefoxProfileTemplate C:\Users\XXXXXXXX\AppData\Roaming\Mozilla\Firefox\Profiles\g3c1ac71.Profile_FF_10
In this profile I have configured language to French but it doesn't work, my website is display in English. I also had an SSL exception but when selenium launch my site, Firefox give me an alert about selfsigned certificate
With version 3.0.19, profile was used but Firefox crashed because of Flash plugin, so I know I know use profile.
It's really hard to understand compatibilty between selenium and Firefox.
Is this a special step I forgot ?
Regard
After I reboot my computer, all work like a charm. Strange !

Selenium IDE 1.0.8 and RC 1.0.3 Won't Click in Firefox 3.6.12 on Ubuntu 10.04

Isn't it always the way, I'm finally ready to start using Selenium to test my web changes, and now I can't get it to work.
Subject line may say it all: environment is Ubuntu 10.04, Selenium components are all the most recent ones available. I'm trying to reproduce the Google example used in RC, using both RC and IDE. There are two failure modes:
By far the most common is that "click" doesn't ever seem to click. Selenium executes the clic, but the page never changes.
A couple of times (when messing around with little changes to see if it fixes anything), clicks do seem to go through; but then Selenium doesn't appear to detect the page change on WaitForPage (I'll try to isolate one of these).
I've tried RC with Ruby, Perl and Java, and I get variations on this behavior. Since FF is my primary platform, I haven't yet tried to see if any other browser works...
Thanks.
Upgrade to 1.0.9
http://release.seleniumhq.org/selenium-ide/1.0.9/

Resources