We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b539039 commit 6ea000aCopy full SHA for 6ea000a
1 file changed
seleniumbase/console_scripts/sb_commander.py
@@ -156,9 +156,9 @@ def do_pytest_run(
156
if save_screenshots:
157
full_run_command += " --screenshot"
158
159
- dash_s_needed = False
160
- if "-s" not in additional_options.split(" "):
161
- dash_s_needed = True
+ capture_needed = False
+ if "--capture" not in additional_options:
+ capture_needed = True
162
163
additional_options = additional_options.strip()
164
if additional_options:
@@ -168,8 +168,8 @@ def do_pytest_run(
168
if verbose:
169
full_run_command += " -v"
170
171
- if dash_s_needed:
172
- full_run_command += " -s"
+ if capture_needed:
+ full_run_command += " --capture=tee-sys"
173
174
print(full_run_command)
175
subprocess.Popen(full_run_command, shell=True)
0 commit comments