diff --git a/index.js b/index.js index 2c08923..d80f0f4 100644 --- a/index.js +++ b/index.js @@ -25,10 +25,11 @@ const launch = async () => { }; if (process.env.CHROME_OPTIONS) { - options.puppteerOptions = { + options.puppeteerOptions = { args : process.env.CHROME_OPTIONS.split(' '), }; + debug('#launch() using extra launch arguments:', process.env.CHROME_OPTIONS); }