Skip to content

Commit

Permalink
Merge pull request #66 from mitchhentges/65-chromium
Browse files Browse the repository at this point in the history
Fixes #65: Properly assign setup for chromium
  • Loading branch information
mitchhentges authored Jul 9, 2017
2 parents 69cf8ff + 3c0cb4b commit 632a872
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ setups.ie = setups.safari = function (browser, options, callback) {
* @param {Object} options Configuration options
* @param {Function} callback Callback function
*/
setups.chrome = function (browser, options, callback) {
setups.chromium = setups.chrome = function (browser, options, callback) {
options.options = options.options || [];
options.options.push(browser.profile ? '--user-data-dir=' + browser.profile : null);
if (options.proxy) {
Expand All @@ -196,7 +196,6 @@ setups.chrome = function (browser, options, callback) {

callback(null, options.options, defaults);
};
setups.canary = setups.chrome;

/**
* Setup procedure for PhantomJS:
Expand Down

0 comments on commit 632a872

Please sign in to comment.