Skip to content

Instantly share code, notes, and snippets.

@Sillium
Sillium / README.md
Last active December 8, 2021 13:11 — forked from haranjackson/chrome_headless.py
Deploys the Python Selenium library and Chrome Headless to an AWS Lambda layer. You can specify the region, library version, and runtime. An example Lambda function is given.

After installation, run this:

aws lambda add-layer-version-permission --layer-name ChromeHeadless --statement-id xaccount --action lambda:GetLayerVersion  --principal "*" --version-number X --output text