Update the docs

This commit is contained in:
Michael Mintz 2020-05-17 22:53:06 -04:00
parent 1d1ef32f5b
commit bee443a53e
3 changed files with 17 additions and 5 deletions

View File

@ -39,9 +39,15 @@ capabilities = {
(You'll notice that the browser is now being specified in the capabilities file, rather than with ``--browser=BROWSER``)
You can generate desired capabilities for [BrowserStack](https://www.browserstack.com/automate/capabilities), [Sauce Labs](https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/), and [TestingBot](https://testingbot.com/support/other/test-options) by following those links to their respective websites.
<b>You can generate specific desired capabilities using:</b>
<ul>
<li><a href="https://www.browserstack.com/automate/capabilities">BrowserStack desired capabilities</a></li>
<li><a href="https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/">Sauce Labs desired capabilities</a></li>
<li><a href="https://testingbot.com/support/other/test-options">TestingBot desired capabilities</a></li>
</ul>
A regex parser was built into SeleniumBase to capture all lines from the specified desired capabilities file in the following formats:
<b>Parsing desired capabilities:</b>
SeleniumBase has a desired capabilities parser that can capture all lines from the specified file in the following formats:
``'KEY': 'VALUE'``
``'KEY': True``
``'KEY': False``

View File

@ -39,9 +39,15 @@ capabilities = {
(You'll notice that the browser is now being specified in the capabilities file, rather than with ``--browser=BROWSER``)
You can generate desired capabilities for [BrowserStack](https://www.browserstack.com/automate/capabilities), [Sauce Labs](https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/), and [TestingBot](https://testingbot.com/support/other/test-options) by following those links to their respective websites.
<b>You can generate specific desired capabilities using:</b>
<ul>
<li><a href="https://www.browserstack.com/automate/capabilities">BrowserStack desired capabilities</a></li>
<li><a href="https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/">Sauce Labs desired capabilities</a></li>
<li><a href="https://testingbot.com/support/other/test-options">TestingBot desired capabilities</a></li>
</ul>
A regex parser was built into SeleniumBase to capture all lines from the specified desired capabilities file in the following formats:
<b>Parsing desired capabilities:</b>
SeleniumBase has a desired capabilities parser that can capture all lines from the specified file in the following formats:
``'KEY': 'VALUE'``
``'KEY': True``
``'KEY': False``

View File

@ -68,7 +68,7 @@ pytest my_first_test.py --server=USERNAME:KEY@hub.crossbrowsertesting.com --port
pytest my_first_test.py --server=USERNAME:KEY@hub.lambdatest.com --port=80
```
(For setting browser desired capabilities while running Selenium remotely, see the ReadMe located here: https://github.com/seleniumbase/SeleniumBase/tree/master/examples/capabilities)
(For setting browser desired capabilities while running Selenium remotely, see the <a href="https://seleniumbase.io/help_docs/desired_capabilities/">desired capabilities documentation</a> and the sample files located in <a href="https://github.com/seleniumbase/SeleniumBase/tree/master/examples/capabilities">SeleniumBase/examples/capabilities</a>)
#### More info about the Selenium Grid Hub can be found here:
* [https://github.com/SeleniumHQ/selenium/wiki/Grid2](https://github.com/SeleniumHQ/selenium/wiki/Grid2)