Update Puppeteer options in NPM driver

main
Elbert Alias 3 years ago
parent 1d35f1ae86
commit e6e84b6cbd

@ -19,6 +19,8 @@ const { AWS_LAMBDA_FUNCTION_NAME, CHROMIUM_BIN, CHROMIUM_DATA_DIR } =
let puppeteer
let chromiumArgs = [
'--no-sandbox',
'--single-process',
'--no-zygote',
'--disable-gpu',
'--ignore-certificate-errors',
'--allow-running-insecure-content',