Skip to content

Commit bd03db9

Browse files
committed
Correctly disable Chromium notifications
1 parent 7a9ac50 commit bd03db9

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
@@ -190,7 +190,7 @@ def _set_chrome_options(
190190
"managed_default_content_settings.popups": 0,
191191
"content_settings.exceptions.automatic_downloads.*.setting": 1,
192192
"profile.password_manager_enabled": False,
193-
"profile.default_content_setting_values.notifications": 0,
193+
"profile.default_content_setting_values.notifications": 2,
194194
"profile.default_content_settings.popups": 0,
195195
"profile.managed_default_content_settings.popups": 0,
196196
"profile.default_content_setting_values.automatic_downloads": 1,
@@ -1118,7 +1118,7 @@ def get_local_driver(
11181118
"managed_default_content_settings.popups": 0,
11191119
"content_settings.exceptions.automatic_downloads.*.setting": 1,
11201120
"profile.password_manager_enabled": False,
1121-
"profile.default_content_setting_values.notifications": 0,
1121+
"profile.default_content_setting_values.notifications": 2,
11221122
"profile.default_content_settings.popups": 0,
11231123
"profile.managed_default_content_settings.popups": 0,
11241124
"profile.default_content_setting_values.automatic_downloads": 1,

0 commit comments

Comments
 (0)