Skip to content

Commit 0c66d47

Browse files
committed
Update the docs
1 parent bdef57b commit 0c66d47

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/">
99
<img src="https://seleniumbase.io/cdn/img/logo_and_pie.png" alt="SeleniumBase" title="SeleniumBase" width="690" /></a></p>
1010
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/releases">
11-
<img src="https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=0090c0" alt="Latest Release on GitHub" /></a> <a href="https://pypi.org/project/seleniumbase/">
11+
<img src="https://img.shields.io/badge/View Releases-%20GitHub-0090c0.svg" alt="SeleniumBase.io Docs" /></a> <a href="https://pypi.org/project/seleniumbase/">
1212
<img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=00a0e0" alt="Latest Release on PyPI" /></a></p>
1313
<p align="center">
1414
<b>Python Web-UI Testing Made Awesome.</b>
@@ -50,9 +50,9 @@
5050
</p>
5151

5252
<p align="left">
53-
✅ SeleniumBase is a Python framework for web testing.<br / >
54-
✅ Tests can be run with <b>pytest</b> from the command-line.<br / >
55-
✅ Includes code to simplify & improve WebDriver APIs.<br / >
53+
✅ SeleniumBase is a Python framework for web testing.<br />
54+
✅ Tests can be run with <b>pytest</b> from the command-line.<br />
55+
✅ Includes code to simplify & improve WebDriver APIs.<br />
5656
✅ Supports Chrome, Edge, Firefox, IE, Opera, and Safari.<br />
5757
✅ Includes powerful <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/example_logs/ReadMe.md">reporting and dashboard features</a>.
5858
</p>
@@ -907,7 +907,7 @@ self.execute_script('''document.body.innerHTML = \"%s\"''' % referral_link)
907907
self.click("a.analytics") # Clicks the generated button
908908
```
909909
910-
(Due to popular demand, this traffic generation example has been baked into SeleniumBase with the ``self.generate_referral(start_page, end_page)`` and the ``self.generate_traffic(start_page, end_page, loops)`` methods.)
910+
(Due to popular demand, this traffic generation example has been included in SeleniumBase with the ``self.generate_referral(start_page, end_page)`` and the ``self.generate_traffic(start_page, end_page, loops)`` methods.)
911911
912912
🔵 Using deferred asserts:
913913

help_docs/customizing_test_runs.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ pytest test_demo_site.py --headless
2222
# Run tests multi-threaded using [n] threads
2323
pytest test_suite.py -n=4
2424

25+
# Reuse the browser session for all tests being run
26+
pytest test_suite.py --reuse-session
27+
28+
# Reuse the browser session, but empty cookies between tests
29+
pytest test_suite.py --reuse-session --crumbs
30+
31+
# Create a real-time dashboard for test results
32+
pytest test_suite.py --dashboard
33+
2534
# Create a pytest html report after tests are done
2635
pytest test_suite.py --html=report.html
2736

@@ -43,12 +52,6 @@ pytest test_suite.py --server=IP_ADDRESS --port=4444
4352
# Run tests on a remote Selenium Grid with authentication
4453
pytest test_suite.py --server=USERNAME:KEY@IP_ADDRESS --port=80
4554

46-
# Reuse the same browser session for all tests being run
47-
pytest test_suite.py --reuse-session
48-
49-
# Reuse the same browser session, but empty cookies between tests
50-
pytest test_suite.py --reuse-session --crumbs
51-
5255
# Run tests through a proxy server
5356
pytest proxy_test.py --proxy=IP_ADDRESS:PORT
5457

0 commit comments

Comments
 (0)