useChrome to true

This commit is contained in:
JakubDrobnik 2018-11-19 18:25:55 +01:00
parent 9cc3e856f5
commit 642d83facc
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM apify/actor-node-chrome FROM apify/actor-node-chrome-xvfb
# Copy source code # Copy source code
COPY . ./ COPY . ./

View File

@ -152,8 +152,9 @@ Apify.main(async () => {
const crawler = new Apify.PuppeteerCrawler({ const crawler = new Apify.PuppeteerCrawler({
launchPuppeteerOptions: { launchPuppeteerOptions: {
useApifyProxy: true, useApifyProxy: true,
useChrome: true,
apifyProxyGroups: ['CZECH_LUMINATI'], apifyProxyGroups: ['CZECH_LUMINATI'],
liveView: true, liveView: Apify.isAtHome(),
}, },
requestQueue, requestQueue,
handlePageTimeoutSecs: 1200, handlePageTimeoutSecs: 1200,