handler.js
is the entrypoint which drives the Chrome behavior.
This project can be used as a template to automate Chrome:
- run on a periodic basis with Cloudwatch Events
- run in response to HTTP events from API Gateway
- SNS topic
- any one of the many Serverless event sources
yarn install
ornpm install
to get your local environment ready. The AWS Lambda runtime already includes the AWS SDK- Make sure you name the service in the
serverless.yml
that's unique in your account's region. - Customize the
handler.js
to how you want to control Chrome
sls deploy
!- Invoke the function manually with
sls invoke -f hello
By default, AWS Lambda limits the total concurrent executions across all functions within a given region to 100. The default limit is a safety limit that protects you from costs due to potential runaway or recursive functions during initial development and testing. To increase this limit above the default, follow the steps in To request a limit increase for concurrent executions.