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:
Selenium IDE is an integrated development environment for Selenium tests. It is implemented as a Firefox extension, and allows you to record, edit, and debug tests.
Selenium users must update to version 3.11 or later to use geckodriver. Other clients that follow the W3C WebDriver specification are also supported.
Since both browsers work with Selenium IDE, you can select the browser based on the visitors to the website you are developing. If most of the traffic comes from Chrome, which is mostly the case, then using Chrome is the best option. All in all, what you are aiming for is a quick way to improve the testing process.
This is the telemetry feature, and the prompt is controlled by the toolkit.telemetry.prompted property:
https://wiki.mozilla.org/Security/Reviews/Firefox6/ReviewNotes/telemetry
You can set it via prefs.js:
http://kb.mozillazine.org/Prefs.js_file
Also relevant:
http://code.google.com/p/selenium/issues/detail?id=3144
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With