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: README.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -215,10 +215,22 @@ Note: The ChromeDriver version must match the Chrome browser version on your mac
215
215
set BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
216
216
```
217
217
218
-
Alternatively, you can also hardcode username and access_key objects in the [test_caps.json](resources/conf/caps/test_caps.json) file.
218
+
Alternatively, you can also hardcode username and access_key objects in the [bstack-config.yaml](resources/conf/caps/bstack-config.yaml) file.
219
+
- Now we need to set the path for the config file we would want to use.
219
220
221
+
- For \*nix based and Mac machines:
222
+
223
+
```sh
224
+
export CONFIG_FILE_PATH=<config-file-path>
225
+
```
226
+
227
+
- For Windows:
228
+
229
+
```shell
230
+
set CONFIG_FILE_PATH=<config-file-path>
231
+
```
220
232
Note:
221
-
- We have configured a list of test capabilities in the [test_caps.json](resources/conf/caps/test_caps.json) file. You can certainly update them based on your device / browser test requirements.
233
+
- We have configured a list of test capabilities in the [bstack-config.yaml](resources/conf/caps/bstack-config.yaml) file. You can certainly update them based on your device / browser test requirements.
222
234
- The exact test capability values can be easily identified using the [Browserstack Capability Generator](https://browserstack.com/automate/capabilities)
223
235
224
236
@@ -270,8 +282,10 @@ In this section, we will run the tests in parallel on a single browser on Browse
270
282
271
283
### Run a tests on BrowserStack which need Local Environment access
272
284
273
-
The only change you need to do here, is to add the respective options in the `bstack-config.json` file.
285
+
The only change you need to do here, is to add the respective options in the `bstack-config.yaml` file.
274
286
The webdriver framework handles the starting and termination of BrowserStack Local Instance.
287
+
288
+
Here you just need to change the CONFIG_FILE_PATH environment variable to use [bstack-local-config.yaml](resources/conf/caps/bstack-local-config.yaml) file.
0 commit comments