Skip to content

joerozek/karma-webdriver-launcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: '7',
		  name: 'Karma'
	    }
      },	  

      browsers: ['IE7'],

      ...

    });

About

A plugin for Karma. Launch any browser with WebDriver.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%