|
1 |
| -[<img src="https://cdn2.hubspot.net/hubfs/100006/images/super_logo_4d.png" title="SeleniumBase" height="48">](https://github.com/seleniumbase/SeleniumBase/blob/master/README.md) |
| 1 | +[<img src="https://cdn2.hubspot.net/hubfs/100006/images/super_logo_6.png" title="SeleniumBase" height="48">](https://github.com/seleniumbase/SeleniumBase/blob/master/README.md) |
2 | 2 |
|
3 | 3 | [<img src="https://img.shields.io/github/release/seleniumbase/SeleniumBase.svg" />](https://github.com/seleniumbase/SeleniumBase/releases) [<img src="https://dev.azure.com/seleniumbase/seleniumbase/_apis/build/status/seleniumbase.SeleniumBase?branchName=master" />](https://dev.azure.com/seleniumbase/seleniumbase/_build/latest?definitionId=1&branchName=master) [<img src="https://travis-ci.org/seleniumbase/SeleniumBase.svg?branch=master" alt="Build Status" />](https://travis-ci.org/seleniumbase/SeleniumBase) [<img src="https://badges.gitter.im/seleniumbase/SeleniumBase.svg" alt="Join the Gitter Chat" />](https://gitter.im/seleniumbase/SeleniumBase) [<img src="https://img.shields.io/badge/license-MIT-22BBCC.svg" alt="MIT License" />](https://github.com/seleniumbase/SeleniumBase/blob/master/LICENSE) [<img src="https://img.shields.io/github/stars/seleniumbase/seleniumbase.svg" alt="GitHub Stars" />](https://github.com/seleniumbase/SeleniumBase/stargazers)<br />
|
4 | 4 |
|
@@ -60,7 +60,7 @@ cd examples
|
60 | 60 | pytest my_first_test.py --browser=chrome
|
61 | 61 | ```
|
62 | 62 | * Chrome is the default browser if not specified with ``--browser=BROWSER``.
|
63 |
| -* You MUST add ``--headless`` for your tests to run on a headless machine (No GUI). You can also run in headless mode on any machine. |
| 63 | +* On Linux ``--headless`` is the default behavior (running with no GUI). You can also run in headless mode on any OS. If your Linux machine has a GUI and you want to see the web browser as tests run, add ``--headed`` or ``--gui``. |
64 | 64 |
|
65 | 65 | **Check out [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py) to see what a simple test looks like:**
|
66 | 66 | * <i>By default, [CSS Selectors](https://www.w3schools.com/cssref/css_selectors.asp) are used for finding page elements.</i>
|
@@ -169,7 +169,7 @@ pytest test_suite.py --browser=chrome
|
169 | 169 | pytest test_suite.py --browser=firefox
|
170 | 170 | ```
|
171 | 171 |
|
172 |
| -If you want to run tests headlessly, use ``--headless``, which you'll need to do if your system lacks a GUI interface. Even if your system does have a GUI interface, it may still support headless browser automation. |
| 172 | +If you want to run tests headlessly, use ``--headless``, which you'll need to do if your system lacks a GUI interface (``--headless`` is the default setting on Linux). Even if your system does have a GUI interface, it may still support headless browser automation. |
173 | 173 |
|
174 | 174 | To run Pytest multithreaded on multiple CPUs at the same time, add ``-n=NUM`` or ``-n NUM`` on the command line, where NUM is the number of CPUs you want to use.
|
175 | 175 |
|
|
0 commit comments