Skip to content

Commit

Permalink
refer this
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Feb 3, 2020
1 parent 7c9494a commit 8e19cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Webdriver.prototype._init = function() {
}

// http options
this.httpAgent = (configUrl.protocol === 'https:')
this.httpAgent = (this.configUrl.protocol === 'https:')
? new https.Agent({ keepAlive: false })
: new http.Agent({ keepAlive: false });
var httpOpts = httpUtils.newHttpOpts('POST', _this._httpConfig);
Expand Down

0 comments on commit 8e19cc6

Please sign in to comment.