disable browser notifications

This commit is contained in:
sebthom
2022-01-30 07:20:16 +01:00
parent 3bb6c9d396
commit 5b88bc15ce

View File

@@ -59,6 +59,7 @@ class SeleniumMixin:
browser_options.add_experimental_option("prefs", {
"credentials_enable_service": False,
"profile.password_manager_enabled": False,
"profile.default_content_setting_values.notifications": 2, # 1 = allow, 2 = block browser notifications
"devtools.preferences.currentDockState": "\"bottom\""
})