sambaiz / puppeteer-lambda-starter-kit

Starter Kit for running Headless-Chrome by Puppeteer on AWS Lambda.
MIT License
580 stars 82 forks source link

Upgrade to nodejs v8.10 #46

Open mglasgow opened 5 years ago

mglasgow commented 5 years ago

AWS Lambda now supports nodejs v8.10: https://aws.amazon.com/about-aws/whats-new/2018/04/aws-lambda-supports-nodejs/. v6.10 is end of life 30 April 2019.

This PR changes the syntax of exports.handler to match the AWS lambda nodejs v8.10 format.

Also fixes up the example query and button click on the google home page, after they had renamed some of the elements.