Skip to content

Commit be3fc3a

Browse files
committed
Add docs for the SeleniumBase Commander
1 parent 6bcf987 commit be3fc3a

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

help_docs/commander.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<h2><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> SeleniumBase Commander</h2>
2+
3+
🎖️ <b>SeleniumBase Commander</b> lets you run <code>pytest</code> scripts from a Desktop GUI.<br>
4+
5+
🎖️ To launch it, use ``sbase commander`` or ``sbase gui``:
6+
7+
```bash
8+
sbase gui
9+
* Starting the SeleniumBase Commander Desktop App...
10+
```
11+
12+
<img src="https://seleniumbase.io/cdn/img/sbase_commander_wide.png" title="SeleniumBase" width="600">
13+
14+
🎖️ <b>SeleniumBase Commander</b> loads the same tests that are found by:
15+
16+
```bash
17+
pytest --co -q
18+
```
19+
20+
🎖️ You can customize which tests are loaded by passing additional args:
21+
22+
```bash
23+
sbase commander [OPTIONAL PATH or TEST FILE]
24+
sbase gui [OPTIONAL PATH or TEST FILE]
25+
```
26+
27+
🎖️ Here are examples of customizing test collection:
28+
29+
```bash
30+
sbase gui
31+
sbase gui -k agent
32+
sbase gui -m marker2
33+
sbase gui test_suite.py
34+
sbase gui offline_examples/
35+
```
36+
37+
🎖️ Once launched, you can further customize which tests to run and what settings to use. There are various controls for changing settings, modes, and other pytest command line options that are specific to SeleniumBase. You can also set additional options that don't have a visible toggle. When you're ready to run the selected tests with the specified options, click on the <code>Run Selected Tests</code> button.
38+
39+
--------
40+
41+
<div>To learn more about SeleniumBase, check out the Docs Site:</div>
42+
<a href="https://seleniumbase.io">
43+
<img src="https://img.shields.io/badge/docs-%20%20SeleniumBase.io-11BBDD.svg" alt="SeleniumBase.io Docs" /></a>
44+
45+
<div>All the code is on GitHub:</div>
46+
<a href="https://github.com/seleniumbase/SeleniumBase">
47+
<img src="https://img.shields.io/badge/✅%20💛%20View%20Code-on%20GitHub%20🌎%20🚀-02A79E.svg" alt="SeleniumBase on GitHub" /></a>

0 commit comments

Comments
 (0)