Skip to content

Commit 202acb9

Browse files
committed
Update the docs
1 parent c3cfbf7 commit 202acb9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,10 @@ import ipdb; ipdb.set_trace() # waits for your command. n = next line of curren
231231
import pytest; pytest.set_trace() # similar to ipdb, but specific to pytest
232232
```
233233

234-
**To pause an active test that throws an exception or error, add ``--pdb --pdb-failures -s``:**
234+
**To pause an active test that throws an exception or error, add ``--pdb -s``:**
235235

236236
```
237-
pytest my_first_test.py --browser=chrome --pdb --pdb-failures -s
237+
pytest my_first_test.py --browser=chrome --pdb -s
238238
```
239239

240240
The code above will leave your browser window open in case there's a failure. (ipdb commands: 'c', 's', 'n' => continue, step, next).

examples/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pytest test_fail.py --browser=chrome
5252

5353
Run a failing test with Debugging-mode enabled: (If a test failure occurs, pdb activates)
5454
```bash
55-
pytest test_fail.py --browser=chrome --pdb --pdb-failures -s
55+
pytest test_fail.py --browser=chrome --pdb -s
5656
```
5757

5858
For more advanced run commands, such as using a proxy server, see [../help_docs/customizing_test_runs.md](https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/customizing_test_runs.md)

help_docs/customizing_test_runs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pytest my_test_suite.py --proxy=IP_ADDRESS:PORT
3838

3939
pytest my_test_suite.py --proxy=USERNAME:PASSWORD@IP_ADDRESS:PORT
4040

41-
pytest test_fail.py -s --pdb --pdb-failures
41+
pytest test_fail.py --pdb -s
4242
```
4343

4444
You can interchange **pytest** with **nosetests**, but using pytest is strongly recommended because developers stopped supporting nosetests. Chrome is the default browser if not specified.
@@ -93,10 +93,10 @@ import ipdb; ipdb.set_trace() # waits for your command. n = next line of curren
9393
import pytest; pytest.set_trace() # similar to ipdb, but specific to pytest
9494
```
9595

96-
**To pause an active test that throws an exception or error, add ``--pdb --pdb-failures -s``:**
96+
**To pause an active test that throws an exception or error, add ``--pdb -s``:**
9797

9898
```bash
99-
pytest my_first_test.py --browser=chrome --pdb --pdb-failures -s
99+
pytest my_first_test.py --browser=chrome --pdb -s
100100
```
101101

102102
The code above will leave your browser window open in case there's a failure. (ipdb commands: 'c', 's', 'n' => continue, step, next).

0 commit comments

Comments
 (0)