https://github.com/browserstack/nemo-browserstack
Selenium examples for Nemo and BrowserStack Automate
https://github.com/browserstack/nemo-browserstack
Last synced: 3 months ago
JSON representation
Selenium examples for Nemo and BrowserStack Automate
- Host: GitHub
- URL: https://github.com/browserstack/nemo-browserstack
- Owner: browserstack
- Created: 2016-03-01T08:36:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-07-03T15:03:08.000Z (about 3 years ago)
- Last Synced: 2026-02-16T05:58:27.514Z (5 months ago)
- Language: JavaScript
- Homepage: https://www.browserstack.com
- Size: 7.81 KB
- Stars: 0
- Watchers: 12
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Nemo-browserstack
Run [Nemo](https://nemo.js.org) scripts on BrowserStack.
### Clone the repo
`git clone https://github.com/browserstack/nemo-browserstack.git`
### Install dependencies
Navigate to appropriate directory for testing and then install the dependencies by running
`npm install`
### BrowserStack Authentication
Export the environment variables for the username and access key of your BrowserStack account.
These can be found on the automate accounts page on [BrowserStack](https://www.browserstack.com/accounts/automate)
`export BROWSERSTACK_USERNAME=`
`export BROWSERSTACK_ACCESS_KEY=`
### Run the tests
- To start a single test run: `npm test`
- To start local tests run: `npm run test_local`
-----
#### Further Reading
- [Nemo](https://nemo.js.org)
- [BrowserStack documentation for Automate](https://www.browserstack.com/automate/node)
#### How to specify the capabilities
The [Code Generator](https://www.browserstack.com/automate/node#setting-os-and-browser) can come in very handy when specifying the capabilities especially for mobile devices.
Happy Testing!