From 0e0490c62ab3f6b87f63b70f289059f970d77638 Mon Sep 17 00:00:00 2001 From: mgiambalvo Date: Thu, 22 Dec 2016 12:56:29 -0800 Subject: [PATCH] cleanup(config): **breaking change** Remove redundant sauceProxy config (#3868) --- lib/config.ts | 12 ++---------- lib/driverProviders/sauce.ts | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/lib/config.ts b/lib/config.ts index 59ba6a99d..e1c82b510 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -120,18 +120,10 @@ export interface Config { * * To match sauce agent implementation, use * [HttpProxyAgent](https://github.com/TooTallNate/node-http-proxy-agent) - * to generate the agent or use sauceProxy as an alternative. If a - * sauceProxy is provided, the sauceAgent will be overridden. + * to generate the agent or use webDriverProxy as an alternative. If a + * webDriverProxy is provided, the sauceAgent will be overridden. */ sauceAgent?: any; - /** - * Use sauceProxy if you are behind a corporate proxy to connect to - * saucelabs.com. - * - * The sauceProxy is used to generate an HTTP agent. If a sauceProxy is - * provided, the sauceAgent will be overridden. - */ - sauceProxy?: string; /** * Use sauceBuild if you want to group test capabilites by a build ID */ diff --git a/lib/driverProviders/sauce.ts b/lib/driverProviders/sauce.ts index 8b4a24483..5ef7c959b 100644 --- a/lib/driverProviders/sauce.ts +++ b/lib/driverProviders/sauce.ts @@ -58,7 +58,7 @@ export class Sauce extends DriverProvider { username: this.config_.sauceUser, password: this.config_.sauceKey, agent: this.config_.sauceAgent, - proxy: this.config_.sauceProxy + proxy: this.config_.webDriverProxy }); this.config_.capabilities['username'] = this.config_.sauceUser; this.config_.capabilities['accessKey'] = this.config_.sauceKey;