Reputation: 91
In my current project, I require Firefox browser to be run in headless mode using Xvfb and Selenium. In order to maintain compatibility between Selenium and Firefox, I want to maintain both of them at a specific version and stop Firefox auto-upgrades.
Currently, I am installing Firefox by the following steps:
"app.update.auto", "app.update.enabled" and "app.update.silent" configuration parameters (in "about:config") of the Firefox profile are disabled by default. Does that mean it would not be auto-updated? Is it the case with such types of installation?
Any recommendation would be helpful.
Upvotes: 2
Views: 4951
Reputation: 10594
In linux, one solution is that after you download firefox and extract it (you can download tar from here). Then change the owner and group to root, for example:
find .|xargs sudo chown root
find .|xargs sudo chgrp root
Because of the permission, firefox cannot update now
Upvotes: 1
Reputation: 1343
When installing Firefox, choose the customize radio button instead of default installation may be in 2nd or 3rd screen of the installation wizard and uncheck
Mozilla/Firefox maintenance service
. It will certainly work.
Good luck
Upvotes: 0
Reputation: 3980
You can set these prefs in about:config
to disable automatic updating:
app.update.auto - false
app.update.enabled - false
app.update.silent - false
You need to enter about:config in the address bar and then search for each pref in a list.
Upvotes: 3