change browser settings

This commit is contained in:
martin legrand 2025-03-26 23:51:54 +01:00
parent 58bdaca252
commit 24329aa3d2

View File

@ -58,8 +58,6 @@ def create_driver(headless=False):
chrome_options.add_argument("--disable-notifications")
security_prefs = {
"profile.default_content_setting_values.media_stream": 2,
"profile.default_content_setting_values.notifications": 2,
"profile.default_content_setting_values.popups": 2,
"profile.default_content_setting_values.geolocation": 2,
"safebrowsing.enabled": True,
}