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 3a61fa6 commit 2579389Copy full SHA for 2579389
seleniumbase/console_scripts/sb_commander.py
@@ -93,7 +93,12 @@ def do_pytest_run(
93
for test_number, test in enumerate(tests):
94
if selected_tests[test_number].get():
95
full_run_command += " "
96
- full_run_command += test
+ if ' ' not in test:
97
+ full_run_command += test
98
+ elif '"' not in test:
99
+ full_run_command += '"%s"' % test
100
+ else:
101
+ full_run_command += test.replace(" ", "\\ ")
102
103
if "(--edge)" in browser_string:
104
full_run_command += " --edge"
0 commit comments