Skip to content

Commit d32e416

Browse files
committed
Update the docs
1 parent f793be5 commit d32e416

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

help_docs/customizing_test_runs.md

+16
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,22 @@ pytest --headless -n8 --dashboard --html=report.html -v --rs --crumbs
337337

338338
The above not only runs tests in parallel processes, but it also tells tests in the same process to share the same browser session, runs the tests in headless mode, displays the full name of each test on a separate line, creates a real-time dashboard of the test results, and creates a full report after all tests complete.
339339

340+
🎛️ For extra speed, run your tests using `chrome-headless-shell`:
341+
342+
First, get `chrome-headless-shell` if you don't already have it:
343+
344+
```bash
345+
sbase get chs
346+
```
347+
348+
Then, run scripts with `binary_location` / `bl` set to `"chs"`:
349+
350+
```bash
351+
pytest --bl="chs" -n8 --dashboard --html=report.html -v --rs
352+
```
353+
354+
That makes your tests run very quickly in headless mode.
355+
340356
--------
341357

342358
<h3><img src="https://seleniumbase.github.io/img/green_logo.png" title="SeleniumBase" width="32" /> The SeleniumBase Dashboard:</h3>

0 commit comments

Comments
 (0)