diff options
Diffstat (limited to 'lib/grunt')
| -rw-r--r-- | lib/grunt/utils.js | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 311bbef2..a3a7e7b2 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -141,6 +141,7 @@ module.exports = {        // Skip the webdriver-manager update on Travis, since the browsers will        // be provided remotely.        done(); +      return;      }      var p = spawn('node', ['node_modules/protractor/bin/webdriver-manager', 'update']);      p.stdout.pipe(process.stdout); @@ -156,11 +157,16 @@ module.exports = {      var sauceKey = grunt.option('sauceKey');      var tunnelIdentifier = grunt.option('capabilities.tunnel-identifier');      var sauceBuild = grunt.option('capabilities.build'); +    var browser = grunt.option('browser');      var args = ['node_modules/protractor/bin/protractor', config];      if (sauceUser) args.push('--sauceUser=' + sauceUser);      if (sauceKey) args.push('--sauceKey=' + sauceKey);      if (tunnelIdentifier) args.push('--capabilities.tunnel-identifier=' + tunnelIdentifier);      if (sauceBuild) args.push('--capabilities.build=' + sauceBuild); +    if (browser) { +      args.push('--browser=' + browser); +      args.push('--params.browser=' + browser); +    }      var p = spawn('node', args); | 
