Skip to content

Commit

Permalink
Fixes #65: Properly assign setup for chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchhentges committed Jul 9, 2017
1 parent 69cf8ff commit 3c0cb4b
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 3c0cb4b

Please sign in to comment.