• Stars
    star
    439
  • Rank 99,247 (Top 2 %)
  • Language
    Dockerfile
  • License
    MIT License
  • Created over 3 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The simplest demo of chrome automation by python and selenium in AWS Lambda

docker-selenium-lambda

badge badge

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

This image goes with these versions. These are automatically updated and tested everyday.

  • Python 3.11.4
  • chromium 114.0.5735.0
  • chromedriver 114.0.5735.90
  • selenium 4.9.1

Running the demo

$ npm install -g serverless # skip this line if you have already installed Serverless Framework
$ export AWS_REGION=ap-northeast-1 # You can specify region or skip this line. us-east-1 will be used by default.
$ sls create --template-url "https://github.com/umihico/docker-selenium-lambda/tree/main" --path docker-selenium-lambda && cd $_
$ sls deploy
$ sls invoke --function demo # Yay! You will get texts of example.com

Public image is available

If you want your image simplier and updated automatically, rewrite the Dockerfile with the following commands:

FROM umihico/aws-lambda-selenium-python:latest

COPY main.py ./
CMD [ "main.handler" ]

Available tags are listed here

Side Project

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

More Repositories

1

PortfolioHub

Your portfolio is captured here! Tag #portfolio-website on your repository.
PHP
258
star
2

pythonista-chromeless

Serverless selenium which dynamically execute any given code.
Python
49
star
3

selenium-lambda-layer

selenium with required binaries as one AWS Lambda Layer
Python
14
star
4

minigun-requests

Web scraping API to outsource tons of GET & xpath to cloud computing
Python
8
star
5

laravel-lambda-docker-bref

Demo Laravel application on AWS Lambda function with Docker container image using Bref
PHP
8
star
6

thumbnailed-personal-websites

This is legacy repo. Please checkout https://portfoliohub.umihi.co
HTML
7
star
7

iam-user-permissions-viwer

Simple bash scripts that help you to export and visualize each IAM user's permission detail.
Shell
5
star
8

kindle-highlights

Share highlights that have been inspiring you in github pages
Python
4
star
9

microdb

In-memory, Hash-mapping, Disk-writable, Thread-safe database.
Python
4
star
10

aws-certifications

2
star
11

stateful-lambda-layer

python layer.zip to make lambda stateful by rewriting environment variables
Python
2
star
12

docker-playwright-lambda

The simplest demo of chrome automation by Node.js and playwright in AWS Lambda
JavaScript
2
star
13

blog

TypeScript
2
star
14

django-sls-helloworld

Python
2
star
15

TIL-JavaScript

Today I learned (JavaScript)
HTML
1
star
16

xpath_detecter

helps finding elements on Chrome selenium in python.
Python
1
star
17

ppickle

multilingual human-readable output pickler
Python
1
star
18

TIL-AWS

Today I learned (AWS)
Python
1
star
19

giita

Qiita記事をGitHubのレポジトリーでgit管理、自動同期してくれるアプリ
Python
1
star
20

squeezed-python-lambda-layer

squeeze your favorite python modules into one AWS Lambda Layer
Python
1
star
21

storage

my public static contents
Python
1
star
22

webscraping_commons

common modules for scraping specific popular webs.
Python
1
star
23

sls-target-group

Python
1
star
24

umihico-pypi

my common python functions on pypi
Python
1
star
25

calc_effective_keymap

Python
1
star
26

yahooauction-bidder

programmable bidding system by wrapping selenium & chrome
Python
1
star
27

passpacker

minimum password manager
Python
1
star
28

pypienv

ease pypi deployment with docker
Python
1
star
29

my-mysql-ligthsail

my mysql server in AWS lightsail
1
star
30

lemp

my LEMP infrastructure as code
Shell
1
star
31

serverless-chores

My automated chores. Health checking, curating media, etc.
Python
1
star
32

ipo_autoapplier

PythonとChromeを使って、自動で公募に申し込み続けるアプリ
Python
1
star
33

animated-random-user-picker

HTML
1
star
34

stenizer

with AutoHotKey, implementing steno keyboard input
Python
1
star
35

serverless-kabu

各証券会社のブラウザ自動操作ライブラリ
Python
1
star
36

umihico_commons

my common modules and functions for daily use
Python
1
star
37

laravel-demo

PHP
1
star
38

fastapi-sls-helloworld

https://fastapi-demo.umihi.co/
Python
1
star
39

cristina

TypeScript
1
star