Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 604fdbf

Browse files
heathkitjuliemr
authored andcommitted
cleanup(config): **breaking change** Remove redundant sauceProxy config (#3868)
1 parent 9465b9f commit 604fdbf

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

lib/config.ts

+2-10
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,10 @@ export interface Config {
120120
*
121121
* To match sauce agent implementation, use
122122
* [HttpProxyAgent](https://github.com/TooTallNate/node-http-proxy-agent)
123-
* to generate the agent or use sauceProxy as an alternative. If a
124-
* sauceProxy is provided, the sauceAgent will be overridden.
123+
* to generate the agent or use webDriverProxy as an alternative. If a
124+
* webDriverProxy is provided, the sauceAgent will be overridden.
125125
*/
126126
sauceAgent?: any;
127-
/**
128-
* Use sauceProxy if you are behind a corporate proxy to connect to
129-
* saucelabs.com.
130-
*
131-
* The sauceProxy is used to generate an HTTP agent. If a sauceProxy is
132-
* provided, the sauceAgent will be overridden.
133-
*/
134-
sauceProxy?: string;
135127
/**
136128
* Use sauceBuild if you want to group test capabilites by a build ID
137129
*/

lib/driverProviders/sauce.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class Sauce extends DriverProvider {
5858
username: this.config_.sauceUser,
5959
password: this.config_.sauceKey,
6060
agent: this.config_.sauceAgent,
61-
proxy: this.config_.sauceProxy
61+
proxy: this.config_.webDriverProxy
6262
});
6363
this.config_.capabilities['username'] = this.config_.sauceUser;
6464
this.config_.capabilities['accessKey'] = this.config_.sauceKey;

0 commit comments

Comments
 (0)