Skip to content

Commit d793ffa

Browse files
committed
Update the docs
1 parent 2f92710 commit d793ffa

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ SeleniumBase provides additional Pytest command-line options for tests:
242242
--verify-delay=SECONDS # (The delay before MasterQA verification checks.)
243243
--disable-csp # (This disables the Content Security Policy of websites.)
244244
--enable-sync # (The option to enable "Chrome Sync".)
245+
--use-auto-ext # (The option to use Chrome's automation extension.)
245246
--no-sandbox # (The option to enable Chrome's "No-Sandbox" feature.)
246247
--disable-gpu # (The option to enable Chrome's "Disable GPU" feature.)
247248
--incognito # (The option to enable Chrome's Incognito mode.)

examples/capabilities/ReadMe.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,14 @@ A regex parser was built into SeleniumBase to capture all lines from the specifi
5050
``caps['KEY'] = False``
5151
(Each pair must be on a separate line. You can interchange single and double quotes.)
5252

53-
You can also swap ``--browser=remote`` with an actual browser, eg ``--browser=chrome``, which will combine the default SeleniumBase desired capabilities with those that were specified in the capabilities file when using ``--cap_file=FILE.py``. Capabilities will override other parameters, so if you set the browser to one thing and the capabilities browser to another, SeleniumBase will use the capabilities browser as the browser. You'll need default SeleniumBase desired capabilities when using a proxy server (not the same as a Selenium Grid server), when downloading files to a desired folder, for disabling some warnings on Chrome, for overriding a website's Content Security Policy on Firefox, and for other reasons.
53+
You can also swap ``--browser=remote`` with an actual browser, eg ``--browser=chrome``, which will combine the default SeleniumBase desired capabilities with those that were specified in the capabilities file when using ``--cap_file=FILE.py``. Capabilities will override other parameters, so if you set the browser to one thing and the capabilities browser to another, SeleniumBase will use the capabilities browser as the browser.
54+
55+
You'll need default SeleniumBase capabilities for:
56+
* Using a proxy server (not the same as a Selenium Grid server)
57+
* Downloading files to a desired folder
58+
* Disabling some warnings on Chrome
59+
* Overriding a website's Content Security Policy on Chrome
60+
* Other possible reasons
5461

5562
You can also set browser desired capabilities from a command line string:
5663
Example:

help_docs/customizing_test_runs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ SeleniumBase provides additional Pytest command-line options for tests:
115115
--verify-delay=SECONDS # (The delay before MasterQA verification checks.)
116116
--disable-csp # (This disables the Content Security Policy of websites.)
117117
--enable-sync # (The option to enable "Chrome Sync".)
118+
--use-auto-ext # (The option to use Chrome's automation extension.)
118119
--no-sandbox # (The option to enable Chrome's "No-Sandbox" feature.)
119120
--disable-gpu # (The option to enable Chrome's "Disable GPU" feature.)
120121
--incognito # (The option to enable Chrome's Incognito mode.)

0 commit comments

Comments
 (0)