Skip to content

Commit d26cd26

Browse files
committed
Updates to Firefox preferences
1 parent 6a711f0 commit d26cd26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ def _create_firefox_profile(
310310
profile.set_preference("app.update.silent", True)
311311
profile.set_preference("browser.formfill.enable", False)
312312
profile.set_preference("browser.privatebrowsing.autostart", True)
313-
profile.set_preference("devtools.errorconsole.enabled", False)
313+
profile.set_preference("devtools.errorconsole.enabled", True)
314314
profile.set_preference("dom.webnotifications.enabled", False)
315-
profile.set_preference("dom.disable_beforeunload", False)
315+
profile.set_preference("dom.disable_beforeunload", True)
316316
profile.set_preference("browser.contentblocking.database.enabled", False)
317317
profile.set_preference("extensions.allowPrivateBrowsingByDefault", True)
318318
profile.set_preference("extensions.PrivateBrowsing.notification", False)

0 commit comments

Comments
 (0)