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)
$ 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_REGIONI'm trying run latest Chrome but having difficulties. Please check out other branches and issues.
If you don't want to create functions each time for each purpose, Please check out pythonista-chromeless