Skip to content

Sample mocha, protractor, nightwatchjs, wd parallel testing code for running selenium with BrowserStack Automate

Notifications You must be signed in to change notification settings

theSouthSea/automate-node-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automate Node Samples

This repository contains code samples from http://browserstack.com/automate/node. Please feel free to clone the repo and use the example code.

Master branch contains Selenium 3 samples, for Selenium 4 - W3C protocol please checkout selenium-4 branch

Do remember to switch the BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY with your own browserstack credentials.

Setup

To setup run npm install

Samples

  1. node single.js : Run test on a single browser.
  2. node parallel.js : Run test on multiple browsers.
  3. mocha mocha/BrowserStackRemoteUnit.js : Run sample mocha test.

Other frameworks

For other nodejs frameworks, refer to their individual repositories -

About

Sample mocha, protractor, nightwatchjs, wd parallel testing code for running selenium with BrowserStack Automate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%