Skip to content

Commit 6cc9ca0

Browse files
committed
Updated README
1 parent 1f9698a commit 6cc9ca0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,40 @@ A sample configuration file:
6868
}
6969
```
7070

71+
#### `browsers` parameter
72+
73+
`browsers` parameter is a list of objects, where each object contains the details of the browsers on which you want to run your tests. This object differs for browsers on dekstop platforms and browsers on mobile platforms. Browsers on dekstop platoform should contain `browser`, `browser_version`, `os `, `os_version` parameters set as required and `device` parameter is set to `null`.
74+
75+
Example:
76+
```json
77+
{
78+
"browser": "ie",
79+
"browser_version": "10.0",
80+
"device": null,
81+
"os": "Windows",
82+
"os_version": "8"
83+
}
84+
```
85+
86+
For mobile platforms, `os`, `os_version` and `device` parameters are required.
87+
88+
Example:
89+
```json
90+
[{
91+
"os": "ios",
92+
"os_version": "8.3",
93+
"device_name": "iPhone 6 Plus"
94+
},
95+
{
96+
"os": "android",
97+
"os_version": "4.0",
98+
"device_name": "Google Nexus"
99+
}
100+
]
101+
```
102+
103+
For information regarding list of supported browsers, platforms and other details visit this [link](http://www.browserstack.com/list-of-browsers-and-platforms?product=live).
104+
71105
#### Compact `browsers` configuration
72106

73107
When `os` and `os_version` granularity is not desired, following configuration can be used:
@@ -100,6 +134,9 @@ Example:
100134
}
101135
```
102136

137+
**Note:**
138+
These shortcuts work only for browsers on desktop platforms supported by Browserstack.
139+
103140
### Proxy support for BrowserStack local
104141

105142
Add the following in `browserstack.json`

0 commit comments

Comments
 (0)