Skip to content

Commit 293fd37

Browse files
committed
Update the docs
1 parent b3f2a4a commit 293fd37

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

help_docs/customizing_test_runs.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,20 @@ You can interchange **pytest** with **nosetests**, but using pytest is strongly
4545

4646
(NOTE: If you're using **pytest** for running tests outside of the SeleniumBase repo, **you'll want a copy of [pytest.ini](https://github.com/seleniumbase/SeleniumBase/blob/master/pytest.ini) at the base of the new folder structure**. If using **nosetests**, the same applies for [setup.cfg](https://github.com/seleniumbase/SeleniumBase/blob/master/setup.cfg).)
4747

48-
#### **Running tests on [BrowserStack](https://www.browserstack.com/automate#)'s Selenium Grid (or your own):**
48+
#### **Running tests on [BrowserStack](https://www.browserstack.com/automate#)'s Selenium Grid, the [Sauce Labs](https://saucelabs.com/products/open-source-frameworks/selenium) Selenium Grid, (or your own):**
4949

50-
Here's how to connect to a BrowserStack server for running tests:
50+
Here's how to connect to a BrowserStack Selenium Grid server for running tests:
5151

5252
```bash
5353
pytest my_first_test.py --server=username:[email protected] --port=80
5454
```
5555

56+
Here's how to connect to a Sauce Labs Selenium Grid server for running tests:
57+
58+
```bash
59+
pytest my_first_test.py --server=username:[email protected] --port=80
60+
```
61+
5662
Or you can create your own Selenium Grid for test distribution. ([See this ReadMe for details](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/utilities/selenium_grid/ReadMe.md))
5763

5864
#### **Example tests using Logging:**

seleniumbase/utilities/selenium_grid/ReadMe.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,18 @@ Now you can run your tests on the Selenium Grid:
2929
pytest my_test_suite.py --server=IP_ADDRESS --port=4444
3030
```
3131

32-
You can also run your tests on [BrowserStack](https://www.browserstack.com/automate#)'s Selenium Grid (and not worry about managing your own Selenium Grid):
32+
You can also run your tests on [BrowserStack](https://www.browserstack.com/automate#)'s Selenium Grid server (and not worry about managing your own Selenium Grid):
3333

3434
```
3535
pytest my_first_test.py --server=username:[email protected] --port=80
3636
```
3737

38+
And you can run your tests on the [Sauce Labs](https://saucelabs.com/products/open-source-frameworks/selenium) Selenium Grid server:
39+
40+
```
41+
pytest my_first_test.py --server=username:[email protected] --port=80
42+
```
43+
3844

3945
#### More info about the Selenium Grid Hub can be found here:
4046
* [https://github.com/SeleniumHQ/selenium/wiki/Grid2](https://github.com/SeleniumHQ/selenium/wiki/Grid2)

0 commit comments

Comments
 (0)