mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-10 04:47:13 +00:00
change browser settings
This commit is contained in:
parent
58bdaca252
commit
24329aa3d2
@ -58,8 +58,6 @@ def create_driver(headless=False):
|
|||||||
chrome_options.add_argument("--disable-notifications")
|
chrome_options.add_argument("--disable-notifications")
|
||||||
security_prefs = {
|
security_prefs = {
|
||||||
"profile.default_content_setting_values.media_stream": 2,
|
"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,
|
"profile.default_content_setting_values.geolocation": 2,
|
||||||
"safebrowsing.enabled": True,
|
"safebrowsing.enabled": True,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user