From 3c0cb4b2b8d0b8adf967258171cb6ef2b2bd2c9a Mon Sep 17 00:00:00 2001 From: Mitchell Hentges Date: Sun, 9 Jul 2017 19:54:43 +0200 Subject: [PATCH] Fixes #65: Properly assign setup for chromium --- lib/run.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/run.js b/lib/run.js index f352a78..b32e990 100644 --- a/lib/run.js +++ b/lib/run.js @@ -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) { @@ -196,7 +196,6 @@ setups.chrome = function (browser, options, callback) { callback(null, options.options, defaults); }; -setups.canary = setups.chrome; /** * Setup procedure for PhantomJS: