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: help_docs/desired_capabilities.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ capabilities = {
41
41
}
42
42
```
43
43
44
-
(Note that the browser is now being specified in the capabilities file, rather than with ``--browser=BROWSER`` when using a **remote** Selenium Grid. If using a **local** Selenium Grid, specify the browser, eg: ``--browser=chrome`` or ``--browser=firefox``.)
44
+
(Note that the browser is now being specified in the capabilities file, rather than with ``--BROWSER`` when using a **remote** Selenium Grid. If using a **local** Selenium Grid, specify the browser, eg: ``--firefox``.)
45
45
46
46
<div><b>You can generate specific desired capabilities using:</b></div>
47
47
@@ -65,7 +65,7 @@ caps['KEY'] = False
65
65
66
66
(Each pair must be on a separate line. You can interchange single and double quotes.)
67
67
68
-
You can also swap ``--browser=remote`` with an actual browser, eg ``--browser=chrome``, which will combine the default SeleniumBase desired capabilities with those that were specified in the capabilities file when using ``--cap_file=FILE.py``. Capabilities will override other parameters, so if you set the browser to one thing and the capabilities browser to another, SeleniumBase will use the capabilities browser as the browser.
68
+
You can also swap ``--browser=remote`` with an actual browser, eg ``--browser=chrome``, which will combine the default SeleniumBase desired capabilities with those that were specified in the capabilities file when using ``--cap_file=FILE.py``. Capabilities will override other parameters, so if you set the browser to one thing and the capabilities browser to another, SeleniumBase will use the capabilities browser.
69
69
70
70
You'll need default SeleniumBase capabilities for:
71
71
* Using a proxy server (not the same as a Selenium Grid server)
@@ -74,8 +74,7 @@ You'll need default SeleniumBase capabilities for:
74
74
* Overriding a website's Content Security Policy on Chrome
75
75
* Other possible reasons
76
76
77
-
You can also set browser desired capabilities from a command line string:
78
-
Example:
77
+
You can also set browser desired capabilities from a command-line string. Eg:
(See the top of <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_sb_fixture.py">examples/test_sb_fixture.py</a> for the test.)
@@ -134,10 +134,10 @@ The <code translate="no">sb</code> pytest fixture can also be used inside of a c
(See the bottom of <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_sb_fixture.py">examples/test_sb_fixture.py</a> for the test.)
Copy file name to clipboardExpand all lines: help_docs/using_safari_driver.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,4 @@ You can find the official Apple documentation regarding "Testing with WebDriver
8
8
9
9
Run ``safaridriver --enable`` once in a terminal to enable Safari's WebDriver. (If you’re upgrading from a previous macOS release, you may need to prefix the command with ``sudo``.)
10
10
11
-
Now you can use ``--browser=safari`` to run your **SeleniumBase** tests on Safari.
11
+
Now you can use ``--safari`` to run your **SeleniumBase** tests on Safari.
0 commit comments