From 5a855a7cfef743997b9c7454cef421729bdde60a Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Wed, 8 Jan 2020 09:41:03 +1100 Subject: [PATCH] Configure Chrome path with CHROME_BIN in NPM driver --- src/drivers/npm/browsers/puppeteer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/npm/browsers/puppeteer.js b/src/drivers/npm/browsers/puppeteer.js index bd347a32f..770d91e54 100644 --- a/src/drivers/npm/browsers/puppeteer.js +++ b/src/drivers/npm/browsers/puppeteer.js @@ -40,6 +40,7 @@ class PuppeteerBrowser extends Browser { super(options); this.browser = () => puppeteer.launch({ + executablePath: process.env.CHROME_BIN, args: ['--no-sandbox', '--headless', '--disable-gpu', '--ignore-certificate-errors'], }); }