File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
seleniumbase/console_scripts Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,9 @@ def do_pytest_run(
156
156
if save_screenshots :
157
157
full_run_command += " --screenshot"
158
158
159
- dash_s_needed = False
160
- if "-s " not in additional_options . split ( " " ) :
161
- dash_s_needed = True
159
+ capture_needed = False
160
+ if "--capture " not in additional_options :
161
+ capture_needed = True
162
162
163
163
additional_options = additional_options .strip ()
164
164
if additional_options :
@@ -168,8 +168,8 @@ def do_pytest_run(
168
168
if verbose :
169
169
full_run_command += " -v"
170
170
171
- if dash_s_needed :
172
- full_run_command += " -s "
171
+ if capture_needed :
172
+ full_run_command += " --capture=tee-sys "
173
173
174
174
print (full_run_command )
175
175
subprocess .Popen (full_run_command , shell = True )
You can’t perform that action at this time.
0 commit comments