Skip to content

This project is coming to demonstrate how to call chromeless from AWS Lambda function

Notifications You must be signed in to change notification settings

eitansela/chromeless-from-aws-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chromeless-from-aws-lambda

This project is coming to demonstrate how to call chromeless from AWS Lambda function

Prerequisites

Deploy Chromeless Proxy service using serverless

Proxy Usage

Modify the endpointUrl and apiKey in handler.js

const chromeless = new Chromeless({
  remote: {
    endpointUrl: 'https://XXXXXXXXXX.execute-api.eu-west-1.amazonaws.com/dev'
    apiKey: 'your-api-key-here'
  },
})

Installation

# install dependencies
$ npm install

# test the function locally
$ serverless invoke local -f invokeRemoteChromeless

# deploy the Lambda function to AWS
$ serverless deploy

About

This project is coming to demonstrate how to call chromeless from AWS Lambda function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published