Skip to content

Commit

Permalink
Added the option to pass args to local browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
auchenberg committed Jul 1, 2015
1 parent 930e25b commit 6597de8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/local/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ module.exports = function (settings, callback) {
args = args.concat(cleanLaunch[name]);
}

if(options.args) {
args = args.concat(options.args);
}

// Convert the command if set (some browsers need some customization)
if(browser.getCommand) {
browser.command = browser.getCommand(browser, url, args, options);
Expand Down

0 comments on commit 6597de8

Please sign in to comment.