NodeJS with Intern

With Intern you can run Javascript unit tests on TestingBot's browser grid.
Run your javascript test on all our browsers in the cloud.

Installing the example

Make sure you've got git and NodeJS installed.
Then proceed to clone our intern_example with the follow commands:

git clone
cd intern_example

Once that's installed, please run the follow command to set up the example:

npm install intern --save-dev

Run Intern test on TestingBot

In the tests/intern.js file you'll find a environments variable where you can indicate on which browsers you want your test to run on via TestingBot.

To actually run the test on TestingBot, we first need to specify the TestingBot key and secret in tests/intern.js. You need to specify these in the webdriver and tunnelOptions variables.

apiKey: "YOUR_KEY",
apiSecret: "YOUR_SECRET"

Now you're ready to run the test on TestingBot
To start the test, run the following command:

./node_modules/.bin/intern-runner config=tests/intern

This will download and start our TestingBot Tunnel, run your test and report back the result to TestingBot.

Pick a NodeJS test framework


    Webdriver/Selenium 2.0 javascript bindings for NodeJS.

  • Protractor

    Protractor is an end-to-end test framework for AngularJS applications. Protractor is a nodeJS program built on top of WebDriverJS.

  • Soda

    Selenium Node Adapter. A light-weight Selenium RC client for NodeJS.

  • Nightwatch

    Nightwatch.js is an automated testing framework written in NodeJS.

  • Intern

    Intern is a nodeJS framework for testing Web sites and applications.

  • WD.js

    WD.js is a NodeJS client for WebDriver/Selenium.