You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ cd SeleniumBase
39
39
pip install -r requirements.txt
40
40
python setup.py develop
41
41
```
42
-
*("``pip install -e .``" also works from the top-level SeleniumBase folder.)
42
+
* "``pip install -e .``" also works from the top-level SeleniumBase folder.
43
43
44
44
You can also install a specific GitHub branch of SeleniumBase:
45
45
```
@@ -52,17 +52,18 @@ SeleniumBase can download a web driver to the [seleniumbase/drivers](https://git
52
52
```
53
53
seleniumbase install chromedriver
54
54
```
55
-
*(You need a different web driver for each web browser you want to run automation on: ``chromedriver`` for Chrome, ``edgedriver`` for Edge, ``geckodriver`` for Firefox, ``operadriver`` for Opera, and ``iedriver`` for Internet Explorer.)
55
+
* You need a different web driver for each web browser you want to run automation on: ``chromedriver`` for Chrome, ``edgedriver`` for Edge, ``geckodriver`` for Firefox, ``operadriver`` for Opera, and ``iedriver`` for Internet Explorer.
56
56
57
57
### <imgsrc="https://cdn2.hubspot.net/hubfs/100006/images/super_square_logo_3a.png"title="SeleniumBase"height="32"> Run a test on Chrome:
58
58
```
59
59
cd examples
60
60
pytest my_first_test.py --browser=chrome
61
61
```
62
-
* (Chrome is the default browser if not specified with ``--browser``)
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
64
64
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:**
65
-
*(<i>By default, [CSS Selectors](https://www.w3schools.com/cssref/css_selectors.asp) are used for finding page elements.</i>)
66
+
* <i>By default, [CSS Selectors](https://www.w3schools.com/cssref/css_selectors.asp) are used for finding page elements.</i>
0 commit comments