karma-webdriver-launcher
A Karma plugin. Launcher for Remote WebDriver instances.
Last updated 2 years ago by zzo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install karma-webdriver-launcher 
SYNC missed versions from official npm registry.

karma-webdriver-launcher

A plugin for Karma 0.12 to launch Remote WebDriver instances

Usage

$ npm install karma-webdriver-launcher

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: 'ondemand.saucelabs.com',
    port: 80,
    user: 'USERNAME',
    pwd: 'APIKEY'
  }


  ...

    config.set({

      ...

      customLaunchers: {
        'IE7': {
          base: 'WebDriver',
          config: webdriverConfig,
          browserName: 'internet explorer',
          platform: 'Windows XP',
          version: '10',
          'x-ua-compatible': 'IE=EmulateIE7',
          name: 'Karma',
          pseudoActivityInterval: 30000
        }
      },

      browsers: ['IE7'],

      ...

    });


pseudoActivityInterval

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.

Current Tags

  • 1.0.5                                ...           latest (2 years ago)

14 Versions

  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.5                                ...           5 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
Downloads
Today 0
This Week 5
This Month 27
Last Day 2
Last Week 4
Last Month 52
Dependencies (1)
  • wd ^1.0.0
Dev Dependencies (4)

Copyright 2014 - 2016 © taobao.org |