browserstack-automate
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "browserstack-automate", | ||
"version": "1.0.0", | ||
"description": "Run selenium tests on BrowseStack using our node.js integration.", | ||
"version": "1.0.1", | ||
"description": "Run selenium tests on BrowserStack using our node.js integration.", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -10,14 +10,8 @@ # BrowserStack-Integration | ||
## Setup | ||
* Clone the repo | ||
* Install dependencies `npm install` | ||
* Export the environment variables for the Username and Access Key of your BrowserStack account | ||
``` | ||
export BROWSERSTACK_USERNAME=<browserstack-username> | ||
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key> | ||
``` | ||
## Running the test | ||
### Installation | ||
`npm install browserstack-automate` | ||
### Node script | ||
@@ -28,2 +22,6 @@ - To run locally, run `npm link && cd examples/simple_sample/ && npm install && npm link browserstack-automate` | ||
### Nightwatch test | ||
- Add the following line in your configuration file: | ||
`require('browserstack-automate').Nightwatch();` | ||
- To run locally, run `npm link && cd examples/nightwatch/ && npm install && npm link browserstack-automate` | ||
@@ -44,2 +42,12 @@ - To run on BrowserStack, run `RUN_ON_BSTACK=true ./node_modules/.bin/nightwatch -c conf.js` | ||
## Setup | ||
* Clone the repo | ||
* Install dependencies `npm install` | ||
* Export the environment variables for the Username and Access Key of your BrowserStack account | ||
``` | ||
export BROWSERSTACK_USERNAME=<browserstack-username> | ||
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key> | ||
``` | ||
## To run tests | ||
@@ -51,3 +59,3 @@ | ||
## To integrate to your nightwatch framework | ||
## To integrate with your nightwatch framework | ||
@@ -54,0 +62,0 @@ - Add the following to `conf.js` file. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13221
63