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
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
---
13
13
- Clone the repo
14
14
- Install dependencies `npm install`
15
-
- Set your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings) in [browserstack.yml](browserstack.yml)
15
+
- Set your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings) in [browserstack.yml](browserstack.yml)`npx setup --username userName --key accessKey`
16
16
- To run sample test, run `npm run sample-test` or `yarn run sample-test`
17
17
- To run tests on private websites,
18
18
- set browserstackLocal: true at [browserstack.yml](browserstack.yml)
@@ -29,14 +29,19 @@ npm i -D browserstack-node-sdk
29
29
or
30
30
yarn add --dev browserstack-node-sdk
31
31
```
32
-
2. Add a browserstack.yml/yaml file at root of your mocha project with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings).
33
-
3. Add a new command for running tests on browserstack in scripts tag of package.json,
32
+
2. Setup
34
33
```
35
-
"scripts": {
34
+
npx setup --username userName --key accessKey
35
+
```
36
+
* Adds a browserstack.yml file at root of your mocha project with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings).
37
+
* Adds a new command for running tests on browserstack in scripts tag of package.json,
0 commit comments