node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



A plugin for Karma 0.12 to launch Remote WebDriver instances

This project is forked from karma-webdriver-launcher, and I just use webdriverio insted of wd to start browser.


$ //npm install karma-webdriverio-launcher
$ npm install git+ssh://

In your karma.conf.js file (e.g. using SauceLabs Connect - you need to have a scout tunnel open for this to work!):

module.exports = function(karma) {
  var webdriverConfig = {
    hostname: '',
    port: 80,
    user: 'USERNAME',
    pwd: 'APIKEY'
      customLaunchers: {
        'IE7': {
          base: 'WebDriverio',
          config: webdriverConfig,
          browserName: 'internet explorer',
          platform: 'Windows XP',
          version: '10',
          'x-ua-compatible': 'IE=EmulateIE7',
          name: 'Karma',
          pseudoActivityInterval: 30000
      browsers: ['IE7'],


Interval in ms to do some activity to avoid killing session by timeout.

If not set or set to 0 - no activity will be performed.