File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,12 @@ def _set_chrome_options(
146
146
"safebrowsing.disable_download_protection" : True ,
147
147
"profile" : {
148
148
"password_manager_enabled" : False ,
149
- "default_content_setting_values.automatic_downloads" : 1
149
+ "default_content_setting_values.automatic_downloads" : 1 ,
150
+ "managed_default_content_settings.automatic_downloads" : 1 ,
151
+ "default_content_settings.popups" : 0 ,
152
+ "managed_default_content_settings.popups" : 0 ,
153
+ "content_settings.exceptions.automatic_downloads.*.setting" : 1 ,
154
+ "content_settings.pattern_pairs.*.multiple-automatic-downloads" : 1
150
155
}
151
156
}
152
157
if locale_code :
@@ -766,7 +771,10 @@ def get_local_driver(
766
771
"safebrowsing.disable_download_protection" : True ,
767
772
"profile" : {
768
773
"password_manager_enabled" : False ,
769
- "default_content_setting_values.automatic_downloads" : 1
774
+ "default_content_setting_values.automatic_downloads" : 1 ,
775
+ "managed_default_content_settings.automatic_downloads" : 1 ,
776
+ "default_content_settings.popups" : 0 ,
777
+ "managed_default_content_settings.popups" : 0
770
778
}
771
779
}
772
780
if locale_code :
You can’t perform that action at this time.
0 commit comments