You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
So all of a sudden, with the 2.16 release, my FF 9.0.1 gets the "Would you like to help
improve Mozilla Firefox by automatically reporting blah blah blah" popup on new windows,
which is fine, except that when that is there click commands are ignored, so tests
can't run.
The following code in the Ruby driver fixes the problem, in as much as with this code
I can click on things in Selenium and all my tests pass:
profile = Selenium::WebDriver::Firefox::Profile.new
# profile['toolkit.telemetry.prompted'] = 2
# profile['toolkit.telemetry.rejected'] = true
caps = Selenium::WebDriver::Remote::Capabilities.firefox(:firefox_profile =>
profile)
@driver = Selenium::WebDriver.for( :remote, :url => "http://localhost:#{@port}/wd/hub",
:desired_capabilities => caps)
Note that this amounts to "run with an explicit profile"; the profile doesn't actually
have to have anything in it. The telemetry request is still there, it just doesn't
block clicks anymore.
If you uncomment the two commented lines, those values *are* set; "about:config" shows
them as set. It just doesn't stop the request from popping up.
-Robin
Reported by robinleepowell on 2012-01-05 23:56:52
The text was updated successfully, but these errors were encountered:
I was about to report the same problem, but for the C# client bindings.
It looks like this is closely related to issue 3144.
Unfortunately the workaround doesn't work for me. Having read issue 3144, and the firefox
issue it linked to, I haven't been able to get any combination of profile preference
settings to allow click commands, or dismiss the telemetry prompt.
If I've understood it correctly, setting 'toolkit.telemetry.prompted' to 2 should prevent
the prompt altogether. To simulate the user having previously clicked no at the prompt,
the 'toolkit.telemetry.enabled' preference should be set to false and the 'toolkit.telemetry.rejected'
preference should be set to true. Hence I have the following code when I create my
capabilities object:
var profile = new FirefoxProfile();
profile.SetPreference("toolkit.telemetry.prompted", 2);
profile.SetPreference("toolkit.telemetry.enabled", false);
profile.SetPreference("toolkit.telemetry.rejected", true);
capabilities.SetCapability("firefox_profile", profile.ToBase64String());
As mentioned though, this still results in the prompt being displayed, and click commands
being ignored.
As it happens, I've discovered that reverting back to v2.15 allows my tests to work
correctly with Firefox v9.0.1, so I'll be doing that until this issue can be resolved.
Originally reported on Google Code with ID 3154
Reported by
robinleepowell
on 2012-01-05 23:56:52The text was updated successfully, but these errors were encountered: