Skip to content

Commit b0ca4f5

Browse files
committed
Update Firefox preferences
1 parent 06c8287 commit b0ca4f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ def _create_firefox_profile(
175175
profile.set_preference("extensions.update.enabled", False)
176176
profile.set_preference("browser.privatebrowsing.autostart", True)
177177
profile.set_preference("extensions.allowPrivateBrowsingByDefault", True)
178+
profile.set_preference("extensions.PrivateBrowsing.notification", False)
179+
profile.set_preference("extensions.systemAddon.update.enabled", False)
180+
profile.set_preference("extensions.update.autoUpdateDefault", False)
181+
profile.set_preference("extensions.update.enabled", False)
178182
profile.set_preference("devtools.errorconsole.enabled", True)
179183
profile.set_preference(
180184
"datareporting.healthreport.logging.consoleEnabled", False)

0 commit comments

Comments
 (0)