Skip to content

Commit c44c922

Browse files
committed
Update sample run commands in docs
1 parent 4c8fb45 commit c44c922

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,10 +919,10 @@ self.driver.find_elements_by_partial_link_text("GitHub")
919919
920920
🔵 Retrying failing tests automatically:
921921
922-
<p>You can use <code>--reruns NUM</code> to retry failing tests that many times. Use <code>--reruns-delay SECONDS</code> to wait that many seconds between retries. Example:</p>
922+
<p>You can use <code>--reruns=NUM</code> to retry failing tests that many times. Use <code>--reruns-delay=SECONDS</code> to wait that many seconds between retries. Example:</p>
923923
924924
```bash
925-
pytest --reruns 5 --reruns-delay 1
925+
pytest --reruns=1 --reruns-delay=1
926926
```
927927
928928
<p>Additionally, you can use the <code>@retry_on_exception()</code> decorator to specifically retry failing methods. (First import: <code>from seleniumbase import decorators</code>) To learn more about SeleniumBase decorators, [click here](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/common).</p>

help_docs/customizing_test_runs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ To run Pytest multithreaded on multiple CPUs at the same time, add ``-n=NUM`` or
240240

241241
You can use ``--reruns=NUM`` to retry failing tests that many times. Use ``--reruns-delay=SECONDS`` to wait that many seconds between retries. Example:
242242

243-
```
244-
pytest --reruns=2 --reruns-delay=1
243+
```bash
244+
pytest --reruns=1 --reruns-delay=1
245245
```
246246

247247
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="28" /> Debugging tests:</h3>

seleniumbase/console_scripts/sb_install.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
sbase install chromedriver
1414
sbase install geckodriver
1515
sbase install edgedriver
16-
sbase install chromedriver 87.0.4280.88
17-
sbase install chromedriver 87
16+
sbase install chromedriver 88.0.4324.96
17+
sbase install chromedriver 88
1818
sbase install chromedriver latest
1919
sbase install chromedriver -p
2020
sbase install chromedriver latest -p
21-
sbase install edgedriver 87.0.664.66
21+
sbase install edgedriver 88.0.705.63
2222
Output:
2323
Installs the chosen webdriver to seleniumbase/drivers/
2424
(chromedriver is required for Chrome automation)

0 commit comments

Comments
 (0)