rivlinp / sauce-connect-launcher

Downloads and launches an instance of Sauce Connect Selenium Proxy https://saucelabs.com/docs/sauce-connect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sauce-connect-launcher

Build Status

A library to download and launch Sauce Connect.

Installation

npm install sauce-connect-launcher

Usage

var sauceConnectLauncher = require('sauce-connect-launcher'),
	options = {
		username: 'bermi',
		accessKey: '12345678-1234-1234-1234-1234567890ab',
		verbose: false,
		logger: console.log
	};

sauceConnectLauncher(options, function (err, sauceConnectProcess) {
	console.log("Started Sauce Connect Process");
	sauceConnectProcess.close(function () {
		console.log("Closed Sauce Connect process");
	});
});

Testing

npm test

About

Downloads and launches an instance of Sauce Connect Selenium Proxy https://saucelabs.com/docs/sauce-connect