Sauce Connect Proxy Support
With this version you can access Sauce Connect Proxy programatically, e.g.:
const api = new SauceLabs({ user: "YOUR-USER", key: "YOUR-ACCESS-KEY" });
const sc = await api.startSauceConnect({
/**
* see all available parameters here: https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy+Command-Line+Quick+Reference+Guide
* all parameters have to be applied camel cased instead of with hyphens, e.g.
* to apply the `--tunnel-identifier` parameter, set:
*/
tunnelIdentifier: 'my-tunnel'
})
// run a test ...
await sc.close()
or via the CLI interface, e.g.:
$ sl sc --region eu --tunnel-identifier 4445
# see all available Sauce Connect parameters via:
$ sl sc --help
Commits:
- update dependencies 57aba75
- minor wording in readme 495f6e9
- Add support for Sauce Connect Proxy (#81) e6da4fb
Commit Range:
v4.0.2...master