mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
disable browser notifications
This commit is contained in:
@@ -59,6 +59,7 @@ class SeleniumMixin:
|
|||||||
browser_options.add_experimental_option("prefs", {
|
browser_options.add_experimental_option("prefs", {
|
||||||
"credentials_enable_service": False,
|
"credentials_enable_service": False,
|
||||||
"profile.password_manager_enabled": False,
|
"profile.password_manager_enabled": False,
|
||||||
|
"profile.default_content_setting_values.notifications": 2, # 1 = allow, 2 = block browser notifications
|
||||||
"devtools.preferences.currentDockState": "\"bottom\""
|
"devtools.preferences.currentDockState": "\"bottom\""
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user