How to stop "would you like to help improve FF" popup?
I am trying to run automated tests (Selenium) of out web application, and every time it opens a FF window it gets blocked by a popup saying "Would you like to help improve Mozilla FF etc)". I have tried clicking No and restarting FF, and also un-checking Submit Performance Data in Options. Please let me know what I need to do, as I can't continue with the task I'm meant to be doing until I can fix this! Thanks...
วิธีแก้ปัญหาที่เลือก
I tried to set toolkit.telemetry.prompted to true, but still it is asking every time while opening a browser window from selenium.
อ่านคำตอบนี้ในบริบท 👍 0การตอบกลับทั้งหมด (9)
You can set the Boolean pref toolkit.telemetry.prompted to true on the about:config page or use the file user.js to initialize that pref to true.
Thanks, I'll try that on Monday and let you know.:-) - Chris
You're welcome
วิธีแก้ปัญหาที่เลือก
I tried to set toolkit.telemetry.prompted to true, but still it is asking every time while opening a browser window from selenium.
If selenium doesn't use that profile, but creates a new profile or initialize that profile in another way then it won't work.
Is that pref still set?
If a new profile is created then try to initialize that pref via a user.js file in the default template folder "\defaults\profile" (you need to create that folder in the Firefox program folder).
user_pref("toolkit.telemetry.prompted", true);
Try this: create a file called user.js in your profile with the following 3 lines:
user_pref("toolkit.telemetry.enabled", false); user_pref("toolkit.telemetry.prompted", 2); user_pref("toolkit.telemetry.rejected", true);
The prefs as posted by davidtse916 apply to Firefox 9+ versions and not Firefox 7/8 where toolkit.telemetry.prompted is a Boolean pref.
FWIW, profile creation with toolkit.telemetry.prompted has been added in newer versions of selenium (not sure exactly, some version after 2.3).
https://groups.google.com/forum/#!topic/selenium-developer-activity/S8koNK8QgUU
Hi,
I have this issue when running Selenium tests via .Net - every time the browser starts I am prompted and the tests do not run. Do you have a fix for this? I am running against version 2.14.
The above link is a little confusing - is this something that I can apply locally?
เปลี่ยนแปลงโดย jwsadler เมื่อ