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

fix(sauce): bring back sauceProxy as a configuration option #4419

Merged
merged 1 commit into from
Aug 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,14 @@ export interface Config {
*/
seleniumSessionId?: string;
/**
* The address of a proxy server to use for the connection to the
* Selenium Server. If not specified no proxy is configured. Looks like
* webDriverProxy: 'http://localhost:3128'
* The address of a proxy server to use for communicating to Sauce Labs rest APIs via the
* saucelabs node module. For example, the Sauce Labs Proxy can be setup with: sauceProxy:
* 'http://localhost:3128'
*/
sauceProxy?: string;

/**
* The proxy address that browser traffic will go through which is tied to the browser session.
*/
webDriverProxy?: string;

Expand Down
2 changes: 1 addition & 1 deletion lib/driverProviders/sauce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class Sauce extends DriverProvider {
username: this.config_.sauceUser,
password: this.config_.sauceKey,
agent: this.config_.sauceAgent,
proxy: this.config_.webDriverProxy
proxy: this.config_.sauceProxy
});
this.config_.capabilities['username'] = this.config_.sauceUser;
this.config_.capabilities['accessKey'] = this.config_.sauceKey;
Expand Down