puppeteer-lambda-starter-kit
puppeteer-lambda-starter-kit copied to clipboard
Starter Kit for running Headless-Chrome by Puppeteer on AWS Lambda.
Question: What's the most efficient way to include alternative language packs like Japanese and Arabic? Is there a way to build with the included build script before going all out...
In this post I provided a way to support WebGL in Chromium for lambda: https://bugs.chromium.org/p/chromium/issues/detail?id=617551 Please add me to a project - I will update the script: 1. Build osmesa...
@sambaiz Can we get Chromium 69.0.3494.0 (r575458) build?
This pull-request removes all Unix-specific commands from the NPM-scripts and replace them with cross-platform commands, thereby allowing this project to built on Windows. I have tested these changes on Windows...
In trying to setup local chome in this block, ``` const setupLocalChrome = () => { return new Promise((resolve, reject) => { fs.createReadStream(config.localChromePath) .on('error', (err) => reject(err)) .pipe(tar.x({ C: config.setupChromePath,...
{ "errorMessage": "2018-02-07T13:38:33.285Z 7d79ae5e-0c0b-11e8-9c34-071d38a89c78 Task timed out after 300.07 seconds" } Getting above error when try to run below code const mpromise = require('promise'); const setupS3Chrome = () => {...
You are the best 👍
Each 5th invocation getting errors similar to the one below: ``` { "errorMessage": "Protocol error (Runtime.enable): Target closed.", "errorType": "Error", "stackTrace": [ "Session._onClosed (/var/task/node_modules/puppeteer/node6/Connection.js:313:23)", "Connection._onClose (/var/task/node_modules/puppeteer/node6/Connection.js:168:15)", "emitTwo (events.js:106:13)", "WebSocket.emit (events.js:191:7)",...
I uploaded headless_shell.tar.gz to S3. Lambda returns error: `START RequestId: 4279d41e-d99e-11e7-8d7c-754f3d6a60fb Version: $LATEST 2017-12-05T09:25:40.241Z 4279d41e-d99e-11e7-8d7c-754f3d6a60fb /tmp/headless_shell 2017-12-05T09:25:40.241Z 4279d41e-d99e-11e7-8d7c-754f3d6a60fb [ '--no-sandbox', '--disable-gpu', '--single-process' ] 2017-12-05T09:25:40.246Z 4279d41e-d99e-11e7-8d7c-754f3d6a60fb (node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection...
I have noticed my lambda function memory consumption keeps on increasing on every subsequent request. I have set my max memory of lambda function to 3008mb. The first call consumes...