I'm trying to test a Java web app using Selenium 2.16.1. When Selenium opens Firefox, I see a band at the top of the page with message "Will you help improve Mozilla Firefox"
For some reason this breaks
selenium.click("id=submit");
selenium.waitForPageToLoad("60000");
which is trying to log in - it becomes a no-op, and the test fails because it's then expecting to have logged in. If I break on the click line and clear the 'will you help' band before continuing then the form submit succeeds.
Is there a way to suppress this band from appearing? (I expect that would mean setting a property in Firefox's default profile - where do I find that?) Or is there a way to get Selenium to spot and dismiss this first? Thanks! I'm using Firefox 9.0.1.
Solved - thanks Danny! Just in case it isn't clear from the answers and comments below:
This was an issue with 2.16.1 and IMO the best solution is to upgrade to 2.17 or later.
Peter points out below that this question is highly ranked for the "Will you help" message itself. If you're looking to disable it:
- Firefox 9/10+: http://developers.sugarcrm.com/wordpress/2012/01/23/howto-disable-the-mozilla-firefox-telemetry-feature/ (and please vote up Peter's answer)
- Firefox 6-8/9 or earlier: https://wiki.mozilla.org/Security/Reviews/Firefox6/ReviewNotes/telemetry (please vote up Danny's answer)