Skip to content

Commit 0e7829c

Browse files
committed
Update the docs
1 parent f01a92b commit 0e7829c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Here are some useful command-line options that come with ``pytest``:
292292
-s # See print statements. (Should be on by default with pytest.ini present.)
293293
--junit-xml=report.xml # Creates a junit-xml report after tests finish.
294294
--pdb # If a test fails, pause run and enter debug mode. (Don't use with CI!)
295-
-m=MARKER # Only run tests that are marked with the specified pytest marker.
295+
-m=MARKER # Run tests with the specified pytest marker.
296296
```
297297

298298
SeleniumBase provides additional ``pytest`` command-line options for tests:

help_docs/customizing_test_runs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Here are some useful command-line options that come with ``pytest``:
8787
-s # See print statements. (Should be on by default with pytest.ini present.)
8888
--junit-xml=report.xml # Creates a junit-xml report after tests finish.
8989
--pdb # If a test fails, pause run and enter debug mode. (Don't use with CI!)
90-
-m=MARKER # Only run tests that are marked with the specified pytest marker.
90+
-m=MARKER # Run tests with the specified pytest marker.
9191
```
9292

9393
SeleniumBase provides additional ``pytest`` command-line options for tests:

seleniumbase/console_scripts/run.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -456,28 +456,28 @@ def show_options():
456456
print('--slow (Slow down the automation. Faster than using Demo Mode.)')
457457
print('--reuse-session / --rs (Reuse the browser session between tests.)')
458458
print('--crumbs (Delete all cookies between tests reusing a session.)')
459-
print("--guest (Enable Chrome's Guest mode.)")
459+
print('--maximize (Start tests with the web browser window maximized.)')
460460
print("--incognito (Enable Chrome's Incognito mode.)")
461-
print('-m MARKER (Only run tests with the specified pytest marker.)')
461+
print("--guest (Enable Chrome's Guest mode.)")
462+
print('-m MARKER (Run tests with the specified pytest marker.)')
462463
print('-n NUM (Multithread the tests using that many threads.)')
463464
print('-v (Verbose mode. Print the full name of each test run.)')
465+
print('--check-js (Check for JavaScript errors after page loads.)')
466+
print('--html=report.html (Create a detailed pytest-html report.)')
464467
print("--agent=STRING (Modify the web browser's User-Agent string.)")
465468
print('--mobile (Use the mobile device emulator while running tests.)')
466469
print('--metrics=STRING (Set mobile "CSSWidth,CSSHeight,PixelRatio".)')
467-
print('--maximize (Start tests with the web browser window maximized.)')
468470
print('--ad-block (Block some types of display ads after page loads.)')
469-
print('--check-js (Check for JavaScript errors after page loads.)')
470471
print('--pdb (Enter Debug Mode if a test fails. h: Help. c: Continue.')
471472
print(' interact: Interactive Mode. CTRL-D: Exit Interactive Mode.)')
472-
print('--html=report.html (Create a detailed pytest-html report.)')
473473
print('--archive-logs (Archive old log files instead of deleting them.)')
474474
print('--disable-csp (Disable the Content Security Policy of websites.)')
475+
print('--save-screenshot (Save a screenshot at the end of each test.)')
475476
print('--proxy=SERVER:PORT (Set a proxy server:port combo for tests.)')
476477
print("--settings-file=FILE (Override default SeleniumBase settings.)")
477478
print('--env=ENV (Set the test env. Access with "self.env" in tests.)')
478479
print('--data=DATA (Extra test data. Access with "self.data" in tests.)')
479480
print('--collect-only -q (Show discovered tests without running them.)')
480-
print('--save-screenshot (Save a screenshot at the end of each test.)')
481481
print('-x (Stop running tests after the first failure is reached.)')
482482
print("")
483483
line = 'For the full list of ' + c1 + 'command-line options' + cr

0 commit comments

Comments
 (0)