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: examples/capabilities/ReadMe.md
+18-11Lines changed: 18 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,17 @@
1
1
<h3><imgsrc="https://seleniumbase.io/img/green_logo.png"title="SeleniumBase"width="32" /> Using Desired Capabilities</h3>
2
2
3
-
You can specify browser desired capabilities for webdriver when running SeleniumBase tests on a remote Selenium Grid server such as [BrowserStack](https://www.browserstack.com/automate/capabilities), [LambdaTest](https://www.lambdatest.com/capabilities-generator/), or [Sauce Labs](https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/).
3
+
You can specify browser desired capabilities for webdriver when running SeleniumBase tests on a remote Selenium Grid server such as <ahref="https://www.browserstack.com/automate/capabilities"target="_blank">BrowserStack</a>, <ahref="https://www.lambdatest.com/capabilities-generator/"target="_blank">LambdaTest</a>, or <ahref="https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/"target="_blank">Sauce Labs</a>.
4
4
5
5
Sample run commands may look like this when run from the [SeleniumBase/examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples) folder: (The browser is now specified in the capabilities file.)
Copy file name to clipboardExpand all lines: help_docs/desired_capabilities.md
+14-11Lines changed: 14 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
<h3><imgsrc="https://seleniumbase.io/img/green_logo.png"title="SeleniumBase"width="32" /> Using Desired Capabilities</h3>
2
2
3
-
You can specify browser desired capabilities for webdriver when running SeleniumBase tests on a remote Selenium Grid server such as [BrowserStack](https://www.browserstack.com/automate/capabilities), [LambdaTest](https://www.lambdatest.com/selenium-automation), or [Sauce Labs](https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/).
3
+
You can specify browser desired capabilities for webdriver when running SeleniumBase tests on a remote Selenium Grid server such as <ahref="https://www.browserstack.com/automate/capabilities"target="_blank">BrowserStack</a>, <ahref="https://www.lambdatest.com/capabilities-generator/"target="_blank">LambdaTest</a>, or <ahref="https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/"target="_blank">Sauce Labs</a>.
4
4
5
5
Sample run commands may look like this when run from the [SeleniumBase/examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples) folder: (The browser is now specified in the capabilities file.)
6
6
@@ -22,12 +22,13 @@ Here's an example desired capabilities file for BrowserStack:
22
22
23
23
```python
24
24
desired_cap = {
25
-
"os": "OS X",
26
-
"os_version": "Mojave",
27
-
"browser": "Chrome",
28
-
"browser_version": "latest",
29
-
"browserstack.local": "false",
30
-
"browserstack.selenium_version": "3.141.59",
25
+
"os" : "Windows",
26
+
"os_version" : "11",
27
+
"browser" : "Chrome",
28
+
"browser_version" : "101.0",
29
+
"browserstack.local" : "false",
30
+
"browserstack.debug" : "true",
31
+
"browserstack.selenium_version" : "4.1.2",
31
32
}
32
33
```
33
34
@@ -39,7 +40,9 @@ capabilities = {
39
40
"name" : "your test name",
40
41
"platform" : "Windows 11",
41
42
"browserName" : "Chrome",
42
-
"version" : "100.0",
43
+
"version" : "101.0",
44
+
"timezone" : "UTC+05:30",
45
+
"geoLocation" : "IN",
43
46
}
44
47
```
45
48
@@ -59,9 +62,9 @@ capabilities = {
59
62
<div><b>You can generate specific desired capabilities using:</b></div>
0 commit comments