From 642d83facc9433b430236d27a7089634b61c4472 Mon Sep 17 00:00:00 2001 From: JakubDrobnik Date: Mon, 19 Nov 2018 18:25:55 +0100 Subject: [PATCH] useChrome to true --- Dockerfile | 2 +- src/main.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d9e5739..36dafcb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM apify/actor-node-chrome +FROM apify/actor-node-chrome-xvfb # Copy source code COPY . ./ diff --git a/src/main.js b/src/main.js index 96296c4..9ab5273 100644 --- a/src/main.js +++ b/src/main.js @@ -152,8 +152,9 @@ Apify.main(async () => { const crawler = new Apify.PuppeteerCrawler({ launchPuppeteerOptions: { useApifyProxy: true, + useChrome: true, apifyProxyGroups: ['CZECH_LUMINATI'], - liveView: true, + liveView: Apify.isAtHome(), }, requestQueue, handlePageTimeoutSecs: 1200,