Skip to content

Commit 5ee5d69

Browse files
committed
Update the documentation
1 parent af76e03 commit 5ee5d69

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,8 @@ The code above will leave your browser window open in case there's a failure. (i
440440
--proxy=SERVER:PORT # (Connect to a proxy server:port for tests.)
441441
--proxy=USERNAME:PASSWORD@SERVER:PORT # (Use authenticated proxy server.)
442442
--proxy-bypass-list=STRING # (";"-separated hosts to bypass, Eg "*.foo.com")
443+
--proxy-pac-url=URL # (Connect to a proxy server using a PAC_URL.pac file.)
444+
--proxy-pac-url=USERNAME:PASSWORD@URL # (Authenticated proxy with PAC URL.)
443445
--agent=STRING # (Modify the web browser's User-Agent string.)
444446
--mobile # (Use the mobile device emulator while running tests.)
445447
--metrics=STRING # (Set mobile metrics: "CSSWidth,CSSHeight,PixelRatio".)
@@ -963,13 +965,13 @@ def get_mirror_universe_captain_picard_superbowl_ad(superbowl_year):
963965
self.switch_to_window(1) # This switches to the new tab (0 is the first one)
964966
```
965967
966-
🔵 <b>ProTip™:</b> iFrames follow the same principle as new windows - you need to specify the iFrame if you want to take action on something in there
968+
🔵 <b>ProTip™:</b> iframes follow the same principle as new windows - you need to specify the iframe if you want to take action on something in there
967969
968970
```python
969971
self.switch_to_frame('ContentManagerTextBody_ifr')
970-
# Now you can act inside the iFrame
972+
# Now you can act inside the iframe
971973
# .... Do something cool (here)
972-
self.switch_to_default_content() # Exit the iFrame when you're done
974+
self.switch_to_default_content() # Exit the iframe when you're done
973975
```
974976
975977
🔵 Executing Custom jQuery Scripts:
@@ -1109,3 +1111,4 @@ pytest --reruns=1 --reruns-delay=1
11091111
11101112
<p><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/super_logo_sb.png" alt="SeleniumBase" title="SeleniumBase" width="200" /></a></p>
11111113
<p><a href="https://pypi.python.org/pypi/seleniumbase" target="_blank"><img src="https://badge.fury.io/py/seleniumbase.svg" alt="PyPI version" /></a></p>
1114+
<p><a href="https://www.python.org/downloads/" target="_blank"><img src="https://img.shields.io/pypi/pyversions/seleniumbase.svg?color=22AAEE&logo=python" title="Supported Python Versions" /></a></p>

help_docs/customizing_test_runs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ pytest my_first_test.py --settings-file=custom_settings.py
122122
--proxy=SERVER:PORT # (Connect to a proxy server:port for tests.)
123123
--proxy=USERNAME:PASSWORD@SERVER:PORT # (Use authenticated proxy server.)
124124
--proxy-bypass-list=STRING # (";"-separated hosts to bypass, Eg "*.foo.com")
125+
--proxy-pac-url=URL # (Connect to a proxy server using a PAC_URL.pac file.)
126+
--proxy-pac-url=USERNAME:PASSWORD@URL # (Authenticated proxy with PAC URL.)
125127
--agent=STRING # (Modify the web browser's User-Agent string.)
126128
--mobile # (Use the mobile device emulator while running tests.)
127129
--metrics=STRING # (Set mobile metrics: "CSSWidth,CSSHeight,PixelRatio".)

help_docs/features_list.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@
99
* Supports multiple browsers, tabs, iframes, and proxies in the same test.
1010
* Automatic smart-waiting improves reliability and prevents flaky tests.
1111
* Supports [pytest](https://docs.pytest.org/en/latest/), [unittest](https://docs.python.org/3/library/unittest.html), [nose](http://nose.readthedocs.io/en/latest/), and [behave](https://behave.readthedocs.io/en/stable/index.html) for finding/running tests.
12-
* All the code is open source. Dive in to see details about any feature.
12+
* All the code is open source. Look inside to learn about any feature.
1313
* Powerful logging tools for [dashboards, reports, and screenshots](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/example_logs/ReadMe.md).
1414
* Can run tests in Headless Mode to hide the browser. (``--headless``)
1515
* Can run tests multithreaded from parallel browsers. (``-n NUM_THREADS``)
1616
* Can run tests from a shared browser session. (``--reuse-session``/``--rs``)
1717
* Can run tests using Chromium's mobile device emulator. (``--mobile``)
1818
* Can run tests through a proxy server. (``--proxy=IP_ADDRESS:PORT``)
19+
* Can run tests with proxy settings via PAC URL. (``--proxy-pac-url=URL.pac``)
1920
* Can run tests through an authenticated proxy server. (``--proxy=USER:PASS@HOST:PORT``)
21+
* Can run tests with proxy+auth via PAC URL. (``--proxy-pac-url=USER:[email protected]``)
2022
* Can run tests with a customized browser user agent. (``--agent=USER_AGENT_STRING``)
21-
* Can set a Chromium User Data Directory/Profile to load. (``--user_data_dir=DIR``)
22-
* Can load Chrome Extension ZIP files. (``--extension_zip=ZIP``)
23-
* Can load Chrome Extension folders. (``--extension_dir=DIR``)
23+
* Can set a Chromium User Data Directory/Profile to load. (``--user-data-dir=DIR``)
24+
* Can load Chrome Extension ZIP files. (``--extension-zip=ZIP``)
25+
* Can load Chrome Extension folders. (``--extension-dir=DIR``)
2426
* Powerful [console scripts](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/console_scripts/ReadMe.md). (Type **``seleniumbase``** or **``sbase``** to use.)
2527
* Has the ability to translate tests into [multiple spoken languages](https://github.com/seleniumbase/SeleniumBase/tree/master/examples/translations).
2628
* Has a flexible [command-line interface](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/customizing_test_runs.md) for customizing test runs.

mkdocs_build/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ghp-import==2.1.0
1919
readme-renderer==35.0
2020
pymdown-extensions==9.5
2121
importlib-metadata==4.12.0
22-
bleach==5.0.0
22+
bleach==5.0.1
2323
jsmin==3.0.1
2424
lunr==0.6.2
2525
nltk==3.7

0 commit comments

Comments
 (0)