Skip to content

Commit

Permalink
Merge pull request #42 from auchenberg/local-browser-args
Browse files Browse the repository at this point in the history
Added the option to pass args to local browsers
  • Loading branch information
daffl committed Sep 2, 2015
2 parents 930e25b + 6597de8 commit 993b1d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/local/index.js
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 993b1d7

Please sign in to comment.