Skip to content

Commit bb73e57

Browse files
committed
Update the docs
1 parent b35baf2 commit bb73e57

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

seleniumbase/plugins/selenium_plugin.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,41 @@
99

1010
class SeleniumBrowser(Plugin):
1111
"""
12-
This parser plugin includes the following command-line options for Nose:
12+
This plugin adds the following command-line options to nosetests:
1313
--browser=BROWSER (The web browser to use.)
1414
--cap-file=FILE (The web browser's desired capabilities to use.)
1515
--cap-string=STRING (The web browser's desired capabilities to use.)
1616
--user-data-dir=DIR (Set the Chrome user data directory to use.)
1717
--server=SERVER (The server / IP address used by the tests.)
1818
--port=PORT (The port that's used by the test server.)
1919
--proxy=SERVER:PORT (This is the proxy server:port combo used by tests.)
20-
--agent=STRING (This designates the web browser's User Agent to use.)
21-
--mobile (The option to use the mobile emulator while running tests.)
22-
--metrics=STRING ("CSSWidth,Height,PixelRatio" for mobile emulator tests.)
20+
--agent=STRING (Modify the web browser's User-Agent string.)
21+
--mobile (Use the mobile device emulator while running tests.)
22+
--metrics=STRING (Set mobile "CSSWidth,CSSHeight,PixelRatio".)
2323
--extension-zip=ZIP (Load a Chrome Extension .zip file, comma-separated.)
2424
--extension-dir=DIR (Load a Chrome Extension directory, comma-separated.)
25-
--headless (The option to run tests headlessly. The default on Linux OS.)
26-
--headed (The option to run tests with a GUI on Linux OS.)
25+
--headless (Run tests headlessly. Default mode on Linux OS.)
26+
--headed (Run tests with a GUI on Linux OS.)
2727
--start-page=URL (The starting URL for the web browser when tests begin.)
2828
--time-limit=SECONDS (Safely fail any test that exceeds the limit limit.)
29-
--slow (The option to slow down the automation.)
30-
--demo (The option to visually see test actions as they occur.)
31-
--demo-sleep=SECONDS (The option to wait longer after Demo Mode actions.)
29+
--slow (Slow down the automation. Faster than using Demo Mode.)
30+
--demo (Slow down and visually see test actions as they occur.)
31+
--demo-sleep=SECONDS (Set the wait time after Demo Mode actions.)
3232
--highlights=NUM (Number of highlight animations for Demo Mode actions.)
3333
--message-duration=SECONDS (The time length for Messenger alerts.)
34-
--check-js (The option to check for JavaScript errors after page loads.)
35-
--ad-block (The option to block some display ads after page loads.)
36-
--block-images (The option to block images from loading during tests.)
34+
--check-js (Check for JavaScript errors after page loads.)
35+
--ad-block (Block some types of display ads after page loads.)
36+
--block-images (Block images from loading during tests.)
3737
--verify-delay=SECONDS (The delay before MasterQA verification checks.)
3838
--disable-csp (This disables the Content Security Policy of websites.)
39-
--enable-sync (The option to enable "Chrome Sync".)
40-
--use-auto-ext (The option to use Chrome's automation extension.)
41-
--swiftshader (The option to use Chrome's "--use-gl=swiftshader" feature.)
42-
--incognito (The option to enable Chrome's Incognito mode.)
43-
--guest (The option to enable Chrome's Guest mode.)
44-
--devtools (The option to open Chrome's DevTools when the browser opens.)
45-
--maximize-window (The option to start with the web browser maximized.)
46-
--save-screenshot (The option to save a screenshot after each test.)
39+
--enable-sync (Enable "Chrome Sync".)
40+
--use-auto-ext (Use Chrome's automation extension.)
41+
--swiftshader (Use Chrome's "--use-gl=swiftshader" feature.)
42+
--incognito (Enable Chrome's Incognito mode.)
43+
--guest (Enable Chrome's Guest mode.)
44+
--devtools (Open Chrome's DevTools when the browser opens.)
45+
--maximize (Start tests with the web browser window maximized.)
46+
--save-screenshot (Save a screenshot at the end of each test.)
4747
--visual-baseline (Set the visual baseline for Visual/Layout tests.)
4848
--timeout-multiplier=MULTIPLIER (Multiplies the default timeout values.)
4949
"""

0 commit comments

Comments
 (0)