File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -117,9 +117,12 @@ def _set_chrome_options(
117117 abs_path = os .path .abspath (user_data_dir )
118118 chrome_options .add_argument ("user-data-dir=%s" % abs_path )
119119 if extension_zip :
120- abs_path = os .path .abspath (extension_zip )
121- chrome_options .add_extension (abs_path )
120+ extension_zip_list = extension_zip .split (',' )
121+ for extension_zip_item in extension_zip_list :
122+ abs_path = os .path .abspath (extension_zip_item )
123+ chrome_options .add_extension (abs_path )
122124 if extension_dir :
125+ # load-extension input can be a comma-separated list
123126 abs_path = os .path .abspath (extension_dir )
124127 chrome_options .add_argument ("--load-extension=%s" % abs_path )
125128 chrome_options .add_argument ("--test-type" )
You can’t perform that action at this time.
0 commit comments