File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -606,7 +606,7 @@ def _set_chrome_options(
606
606
pass
607
607
if user_data_dir and not is_using_uc (undetectable , browser_name ):
608
608
abs_path = os .path .abspath (user_data_dir )
609
- chrome_options .add_argument ("user-data-dir=%s" % abs_path )
609
+ chrome_options .add_argument ("-- user-data-dir=%s" % abs_path )
610
610
if extension_zip :
611
611
# Can be a comma-separated list of .ZIP or .CRX files
612
612
extension_zip_list = extension_zip .split ("," )
@@ -2320,7 +2320,7 @@ def get_local_driver(
2320
2320
)
2321
2321
if user_data_dir and not is_using_uc (undetectable , browser_name ):
2322
2322
abs_path = os .path .abspath (user_data_dir )
2323
- edge_options .add_argument ("user-data-dir=%s" % abs_path )
2323
+ edge_options .add_argument ("-- user-data-dir=%s" % abs_path )
2324
2324
if extension_zip :
2325
2325
# Can be a comma-separated list of .ZIP or .CRX files
2326
2326
extension_zip_list = extension_zip .split ("," )
You can’t perform that action at this time.
0 commit comments