File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ def _set_chrome_options(
303
303
if user_agent :
304
304
chrome_options .add_argument ("--user-agent=%s" % user_agent )
305
305
chrome_options .add_argument ("--disable-infobars" )
306
+ chrome_options .add_argument ("--disable-notifications" )
306
307
chrome_options .add_argument ("--disable-save-password-bubble" )
307
308
chrome_options .add_argument ("--disable-single-click-autofill" )
308
309
chrome_options .add_argument (
@@ -1248,6 +1249,7 @@ def get_local_driver(
1248
1249
abs_path = os .path .abspath (extension_dir )
1249
1250
edge_options .add_argument ("--load-extension=%s" % abs_path )
1250
1251
edge_options .add_argument ("--disable-infobars" )
1252
+ edge_options .add_argument ("--disable-notifications" )
1251
1253
edge_options .add_argument ("--disable-save-password-bubble" )
1252
1254
edge_options .add_argument ("--disable-single-click-autofill" )
1253
1255
edge_options .add_argument (
You can’t perform that action at this time.
0 commit comments