Skip to content

Commit caec440

Browse files
committed
Update the docs
1 parent 9007c5a commit caec440

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,19 @@ Tests are run with "pytest". Browsers are controlled by WebDriver.
5050
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/master_qa/ReadMe.md">🛂 MasterQA</a>
5151
</p>
5252

53-
✅ Has a [complete API](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/method_summary.md) for Web-UI testing.<br />
54-
✅ Expands pytest [command-line options](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/customizing_test_runs.md).<br />
55-
✅ Includes [scripts](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/console_scripts/ReadMe.md) for driver management.<br />
56-
✅ Includes tools for [dashboards & reports](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/example_logs/ReadMe.md).<br />
53+
✅ Get set up in minutes. Deploy anywhere.<br />
54+
✅ Build Web-UI tests with a [complete API](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/method_summary.md).<br />
55+
✅ Generate [test reports and dashboards](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/example_logs/ReadMe.md).<br />
5756

5857
--------
5958

60-
<p align="center">(Example: <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py">test_swag_labs.py</a> in Demo Mode.)</p>
59+
<p align="left">(Example: <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py">my_first_test.py</a> in Demo Mode.)</p>
6160

6261
```bash
63-
pytest test_swag_labs.py --demo
62+
pytest my_first_test.py --demo
6463
```
6564

66-
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py"><img src="https://seleniumbase.io/cdn/gif/swag_demo_2.gif" alt="SeleniumBase Demo Mode" title="SeleniumBase Demo Mode" /></a></p>
65+
<p align="left"><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py"><img src="https://seleniumbase.io/cdn/gif/my_first_test_4.gif" alt="SeleniumBase Demo Mode" title="SeleniumBase Demo Mode" width="400" /></a></p>
6766

6867
<a id="python_installation"></a>
6968
<h2><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Python Setup:</h2>
@@ -181,7 +180,7 @@ pytest test_swag_labs.py
181180
pytest my_first_test.py --demo
182181
```
183182
184-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py"><img src="https://seleniumbase.io/cdn/gif/my_first_test_1.gif" title="SeleniumBase" /></a>
183+
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py"><img src="https://seleniumbase.io/cdn/gif/my_first_test_4.gif" title="SeleniumBase" /></a>
185184
186185
<b>Here's the code for [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py):</b>
187186
@@ -382,7 +381,7 @@ The code above will leave your browser window open in case there's a failure. (i
382381
--incognito # (Enable Chrome's Incognito mode.)
383382
--guest # (Enable Chrome's Guest mode.)
384383
--devtools # (Open Chrome's DevTools when the browser opens.)
385-
--reuse-session # (Reuse the browser session between tests.)
384+
--reuse-session | --rs # (Reuse browser session between tests.)
386385
--crumbs # (Delete all cookies between tests reusing a session.)
387386
--maximize-window # (Start tests with the web browser window maximized.)
388387
--save-screenshot # (Save a screenshot at the end of each test.)

examples/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Run an example test in Demo Mode: (highlight assertions)
3333
pytest my_first_test.py --demo
3434
```
3535

36-
<img src="https://seleniumbase.io/cdn/gif/my_first_test_1.gif" title="SeleniumBase Demo Mode" /><br />
36+
<img src="https://seleniumbase.io/cdn/gif/my_first_test_4.gif" title="SeleniumBase Demo Mode" /><br />
3737

3838
Run a different example in Demo Mode:
3939

seleniumbase/console_scripts/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def show_options():
575575
print('--headless (Run tests headlessly. Default mode on Linux OS.)')
576576
print('--demo (Slow down and visually see test actions as they occur.)')
577577
print('--slow (Slow down the automation. Faster than using Demo Mode.)')
578-
print('--reuse-session / --rs (Reuse the browser session between tests.)')
578+
print('--reuse-session / --rs (Reuse browser session between tests.)')
579579
print('--crumbs (Delete all cookies between tests reusing a session.)')
580580
print('--maximize (Start tests with the web browser window maximized.)')
581581
print('--dashboard (Enable the SeleniumBase Dashboard at dashboard.html)')

seleniumbase/plugins/pytest_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def pytest_addoption(parser):
6767
--incognito (Enable Chrome's Incognito mode.)
6868
--guest (Enable Chrome's Guest mode.)
6969
--devtools (Open Chrome's DevTools when the browser opens.)
70-
--reuse-session / --rs (Reuse the browser session between tests.)
70+
--reuse-session | --rs (Reuse browser session between tests.)
7171
--crumbs (Delete all cookies between tests reusing a session.)
7272
--maximize (Start tests with the web browser window maximized.)
7373
--save-screenshot (Save a screenshot at the end of each test.)

0 commit comments

Comments
 (0)