@@ -172,7 +172,13 @@ def _create_firefox_profile(
172
172
profile .set_preference ("pdfjs.disabled" , True )
173
173
profile .set_preference ("app.update.auto" , False )
174
174
profile .set_preference ("app.update.enabled" , False )
175
+ profile .set_preference ("app.update.staging" , False )
176
+ profile .set_preference ("app.update.silent" , False )
177
+ profile .set_preference ("app.update.service.enabled" , False )
178
+ profile .set_preference ("dom.disable_beforeunload" , True )
175
179
profile .set_preference ("extensions.update.enabled" , False )
180
+ profile .set_preference ("extensions.allowPrivateBrowsingByDefault" , True )
181
+ profile .set_preference ("extensions.PrivateBrowsing.notification" , False )
176
182
profile .set_preference ("devtools.errorconsole.enabled" , True )
177
183
profile .set_preference (
178
184
"datareporting.healthreport.logging.consoleEnabled" , False )
@@ -200,9 +206,12 @@ def _create_firefox_profile(
200
206
profile .set_preference (
201
207
"browser.download.manager.showAlertOnComplete" , False )
202
208
profile .set_preference ("browser.shell.checkDefaultBrowser" , False )
209
+ profile .set_preference ("browser.tabs.warnOnClose" , False )
203
210
profile .set_preference ("browser.startup.page" , 0 )
204
211
profile .set_preference ("browser.privatebrowsing.autostart" , True )
205
212
profile .set_preference ("browser.download.panel.shown" , False )
213
+ profile .set_preference (
214
+ "browser.safebrowsing.downloads.remote.enabled" , False )
206
215
profile .set_preference (
207
216
"browser.download.animateNotifications" , False )
208
217
profile .set_preference ("browser.download.dir" , downloads_path )
0 commit comments