Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

karma-webdriverio-launcher

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-webdriverio-launcher

A Karma plugin. Launcher for Remote WebDriver instances using webdriverio.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

karma-webdriverio-launcher

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.

Usage

$ //npm install karma-webdriverio-launcher
$ npm install git+ssh://git@github.com:gogoyqj/karma-webdriver-launcher.git

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: 'WebDriverio',
          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.

Keywords

karma-plugin

FAQs

Package last updated on 25 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts