/docker-selenium-lambda

Minimum demo of headless chrome and selenium on container image on AWS Lambda

Primary LanguageDockerfileMIT LicenseMIT

docker-selenium-lambda

This is minimum demo of headless chrome and selenium on container image on AWS Lambda

This image goes with these versions.

  • Python 3.8
  • serverless-chrome v1.0.0-37
  • chromedriver 2.37
  • selenium 3.141.0 (latest)

Running the demo

$ YOUR_REGION=ap-northeast-1 # your region
$ git clone --depth 1 https://github.com/umihico/docker-selenium-lambda.git docker-selenium-lambda && cd $_
$ sls deploy --region $YOUR_REGION
$ sls invoke -f server --region $YOUR_REGION

Contribution

I'm trying run latest Chrome but having difficulties. Please check out other branches and issues.

Side Project

If you don't want to create functions each time for each purpose, Please check out pythonista-chromeless