Skip to content

Commit 85bae8f

Browse files
committed
Update the docs
1 parent b947a58 commit 85bae8f

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ The code above will leave your browser window open in case there's a failure. (i
497497
--firefox-pref=SET # (Set a Firefox preference:value set, comma-separated.)
498498
--extension-zip=ZIP # (Load a Chrome Extension .zip|.crx, comma-separated.)
499499
--extension-dir=DIR # (Load a Chrome Extension directory, comma-separated.)
500+
--sjw # (Skip JS Waits for readyState to be "complete" or Angular to load.)
500501
--pls=PLS # (Set pageLoadStrategy on Chrome: "normal", "eager", or "none".)
501502
--headless # (Run tests in headless mode. The default arg on Linux OS.)
502503
--headless2 # (Use the new headless mode, which supports extensions.)
@@ -507,7 +508,6 @@ The code above will leave your browser window open in case there's a failure. (i
507508
--start-page=URL # (The starting URL for the web browser when tests begin.)
508509
--archive-logs # (Archive existing log files instead of deleting them.)
509510
--archive-downloads # (Archive old downloads instead of deleting them.)
510-
--skip-js-waits # (Skip waiting for readyState to be complete or Angular.)
511511
--time-limit=SECONDS # (Safely fail any test that exceeds the time limit.)
512512
--slow # (Slow down the automation. Faster than using Demo Mode.)
513513
--demo # (Slow down and visually see test actions as they occur.)

help_docs/customizing_test_runs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ pytest my_first_test.py --settings-file=custom_settings.py
130130
--firefox-pref=SET # (Set a Firefox preference:value set, comma-separated.)
131131
--extension-zip=ZIP # (Load a Chrome Extension .zip|.crx, comma-separated.)
132132
--extension-dir=DIR # (Load a Chrome Extension directory, comma-separated.)
133+
--sjw # (Skip JS Waits for readyState to be "complete" or Angular to load.)
133134
--pls=PLS # (Set pageLoadStrategy on Chrome: "normal", "eager", or "none".)
134135
--headless # (Run tests in headless mode. The default arg on Linux OS.)
135136
--headless2 # (Use the new headless mode, which supports extensions.)
@@ -140,7 +141,6 @@ pytest my_first_test.py --settings-file=custom_settings.py
140141
--start-page=URL # (The starting URL for the web browser when tests begin.)
141142
--archive-logs # (Archive existing log files instead of deleting them.)
142143
--archive-downloads # (Archive old downloads instead of deleting them.)
143-
--skip-js-waits # (Skip waiting for readyState to be complete or Angular.)
144144
--time-limit=SECONDS # (Safely fail any test that exceeds the time limit.)
145145
--slow # (Slow down the automation. Faster than using Demo Mode.)
146146
--demo # (Slow down and visually see test actions as they occur.)

seleniumbase/behave/behave_sb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
-D firefox-pref=SET (Set a Firefox preference:value set, comma-separated.)
4040
-D extension-zip=ZIP (Load a Chrome Extension .zip|.crx, comma-separated.)
4141
-D extension-dir=DIR (Load a Chrome Extension directory, comma-separated.)
42+
-D sjw (Skip JS Waits for readyState to be "complete" or Angular to load.)
4243
-D pls=PLS (Set pageLoadStrategy on Chrome: "normal", "eager", or "none".)
4344
-D headless (Run tests in headless mode. The default arg on Linux OS.)
4445
-D headless2 (Use the new headless mode, which supports extensions.)

seleniumbase/plugins/pytest_plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def pytest_addoption(parser):
5454
--firefox-pref=SET (Set a Firefox preference:value set, comma-separated.)
5555
--extension-zip=ZIP (Load a Chrome Extension .zip|.crx, comma-separated.)
5656
--extension-dir=DIR (Load a Chrome Extension directory, comma-separated.)
57+
--sjw (Skip JS Waits for readyState to be "complete" or Angular to load.)
5758
--pls=PLS (Set pageLoadStrategy on Chrome: "normal", "eager", or "none".)
5859
--headless (Run tests in headless mode. The default arg on Linux OS.)
5960
--headless2 (Use the new headless mode, which supports extensions.)
@@ -64,7 +65,7 @@ def pytest_addoption(parser):
6465
--start-page=URL (The starting URL for the web browser when tests begin.)
6566
--archive-logs (Archive existing log files instead of deleting them.)
6667
--archive-downloads (Archive old downloads instead of deleting them.)
67-
--skip-js-waits (Skip waiting for readyState to be complete or Angular.)
68+
--sjw (Skip JavaScript Waits such as readyState=="complete" or Angular.)
6869
--time-limit=SECONDS (Safely fail any test that exceeds the time limit.)
6970
--slow (Slow down the automation. Faster than using Demo Mode.)
7071
--demo (Slow down and visually see test actions as they occur.)

seleniumbase/plugins/selenium_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class SeleniumBrowser(Plugin):
3838
--firefox-pref=SET (Set a Firefox preference:value set, comma-separated.)
3939
--extension-zip=ZIP (Load a Chrome Extension .zip|.crx, comma-separated.)
4040
--extension-dir=DIR (Load a Chrome Extension directory, comma-separated.)
41+
--sjw (Skip JS Waits for readyState to be "complete" or Angular to load.)
4142
--pls=PLS (Set pageLoadStrategy on Chrome: "normal", "eager", or "none".)
4243
--headless (Run tests in headless mode. The default arg on Linux OS.)
4344
--headless2 (Use the new headless mode, which supports extensions.)
@@ -46,7 +47,6 @@ class SeleniumBrowser(Plugin):
4647
--locale=LOCALE_CODE (Set the Language Locale Code for the web browser.)
4748
--interval=SECONDS (The autoplay interval for presentations & tour steps)
4849
--start-page=URL (The starting URL for the web browser when tests begin.)
49-
--skip-js-waits (Skip waiting for readyState to be complete or Angular.)
5050
--time-limit=SECONDS (Safely fail any test that exceeds the time limit.)
5151
--slow (Slow down the automation. Faster than using Demo Mode.)
5252
--demo (Slow down and visually see test actions as they occur.)

0 commit comments

Comments
 (0)