Skip to content

Commit e74d694

Browse files
committed
Update Firefox preferences
1 parent dafb42b commit e74d694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def _create_firefox_profile(
312312
profile.set_preference("browser.privatebrowsing.autostart", True)
313313
profile.set_preference("devtools.errorconsole.enabled", False)
314314
profile.set_preference("dom.webnotifications.enabled", False)
315-
profile.set_preference("dom.disable_beforeunload", True)
315+
profile.set_preference("dom.disable_beforeunload", False)
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)