This repository was archived by the owner on Jul 29, 2024. It is now read-only.
File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ exports.config = {
59
59
// browser session. The selenium session is maintained after the test has
60
60
// completed. Ignored if seleniumAddress is null.
61
61
seleniumSessionId : null ,
62
+ // The address of a proxy server to use for the connection to the
63
+ // Selenium Server. If not specified no proxy is configured. Looks like
64
+ // webDriverProxy: 'http://localhost:3128'
65
+ webDriverProxy : null ,
62
66
63
67
// ---- 3. To use remote browsers via Sauce Labs -----------------------------
64
68
// If sauceUser and sauceKey are specified, seleniumServerJar will be ignored.
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ DriverProvider.prototype.getExistingDrivers = function() {
34
34
DriverProvider . prototype . getNewDriver = function ( ) {
35
35
var builder = new webdriver . Builder ( ) .
36
36
usingServer ( this . config_ . seleniumAddress ) .
37
+ usingWebDriverProxy ( this . config_ . webDriverProxy ) .
37
38
withCapabilities ( this . config_ . capabilities ) ;
38
39
if ( this . config_ . disableEnvironmentOverrides === true ) {
39
40
builder . disableEnvironmentOverrides ( ) ;
You can’t perform that action at this time.
0 commit comments