An open API service indexing awesome lists of open source software.

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

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!