From 387657721898c3d1618ab2ae29bbc2a759548288 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 31 Jul 2018 10:25:26 +0200 Subject: [PATCH] log when using external chrome! --- start.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/start.js b/start.js index c109430fb8..4912f901c1 100644 --- a/start.js +++ b/start.js @@ -36,7 +36,9 @@ async function runTests() { console.log("running tests ..."); const options = {}; if (process.env.CHROME_PATH) { - options.executablePath = process.env.CHROME_PATH; + const path = process.env.CHROME_PATH; + console.log(`(using external chrome/chromium at ${path}, make sure it's compatible with puppeteer)`); + options.executablePath = path; } global.browser = await puppeteer.launch(options); const page = await helpers.newPage();