Skip to content

Commit

Permalink
Merge pull request #419 from jfgarcia268/master
Browse files Browse the repository at this point in the history
Change Job Option from httpProxy to puppeteerHttpProxy
  • Loading branch information
Adam Rutland authored Dec 6, 2021
2 parents 113be32 + 4ddee20 commit 2ac4319
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/utilityservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -1510,8 +1510,8 @@ UtilityService.prototype.getPuppeteerOptions = async function (jobInfo) {
headless: jobInfo.puppeteerHeadless,
args: ['--no-sandbox']
};
if (jobInfo.httpProxy) {
puppeteerOptions.args.push('--proxy-server=' + jobInfo.httpProxy);
if (jobInfo.puppeteerHttpProxy) {
puppeteerOptions.args.push('--proxy-server=' + jobInfo.puppeteerHttpProxy);
}

let macChrome = path.join('/', 'Applications', 'Google Chrome.app', 'Contents', 'MacOS', 'Google Chrome');
Expand Down
3 changes: 2 additions & 1 deletion lib/vlocitycli.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ var VLOCITY_COMMANDLINE_OPTIONS = {
"loginTimeoutForLoginLWC": Number,
"puppeteerHeadless": Boolean,
"ignoreLWCActivationOS": Boolean,
"ignoreLWCActivationCards": Boolean
"ignoreLWCActivationCards": Boolean,
"puppeteerHttpProxy": String
};

var VLOCITY_COMMANDLINE_OPTIONS_SHORTHAND = {
Expand Down

0 comments on commit 2ac4319

Please sign in to comment.