sauceconnect-runner
v0.2.2
Published
Run Sauce Connect around any other process
Maintainers
Readme
sauceconnect-runner
Run Sauce Connect around any script, Node or not.
Install it with npm:
npm install [-g] sauceconnect-runnerSet your Sauce Labs username and access key as environment variables:
export SAUCE_USERNAME=your-username export SAUCE_ACCESS_KEY=your-access-keyRun your Selenium tests with Sauce Connect in the background:
sc-run npm test
How does it work?
If you run sc-run without any arguments, it simply runs the appropriate
Sauce Connect binaries for your system and keeps the connection open so you
can run Selenium tests on Sauce Labs against localhost.
If you run it with arguments, it will attempt to spawn them as a child process and close the Sauce Connect tunnel when the child exits. That's it!
