Last active
February 24, 2021 19:23
-
-
Save punamdahiya/3f3e619970c830ed041a2aa8127df85e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario #2 for new profile on MacOS via terminal and using Stage RS | |
Navigate to about:profiles, create a new Firefox Profile and click respective ‘Show in Finder’ to open profile folder. | |
Place a user.js file containing the Stage RS server user prefs configuration given below in the folder. | |
user_pref("services.settings.server", "https://settings.stage.mozaws.net/v1"); | |
user_pref("security.content.signature.root_hash", "DB:74:CE:58:E4:F9:D0:9E:E0:42:36:BE:6C:C5:C4:F6:6A:E7:74:7D:C0:21:42:7A:03:BC:2F:57:0C:8B:9B:90"); | |
user_pref("dom.push.serverURL", "https://autopush.stage.mozaws.net"); | |
user_pref("services.settings.load_dump", false); | |
user_pref("messaging-system.log", "debug"); | |
user_pref("browser.aboutwelcome.log", "debug"); | |
//Bonus lines | |
// The value of this pref should be provided by the Engineering team and it represents a user that would always see a specific branch of the experiment. | |
user_pref("browser.ping-centre.log", true); | |
user_pref("app.normandy.user_id", "<normany_id_respective to_branch>"); | |
Start Firefox from command line using the --profile “<profile_path>” --first-startup --url “<url_to_open>” -jsconsole | |
Eg. /Applications/Firefox.app/Contents/MacOS/firefox --first-startup --profile '/Users/pdahiya/Library/Application Support/Firefox/Profiles/7alaekvw.84-v2' | |
--url about:welcome is only needed for Nightly because it does not point to about:welcome when a new profile is created. | |
Once the profile is opened it should be automatically enrolled in the experiment (if the profile is eligible and provided that the recipe is not set-up to serve the experiment to a % of the population) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment