Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Your tests will ask you to repeat. Scallable Im...
Search
Merkushev Kirill
November 08, 2017
Programming
1
350
Your tests will ask you to repeat. Scallable Immutable Selenium Infrastructure.
How to setup cool selenium infrastructure using Aerokube toolchain
Merkushev Kirill
November 08, 2017
Tweet
Share
More Decks by Merkushev Kirill
See All by Merkushev Kirill
Проект на Java и библиотеке Reactor - а как же тесты?
lanwen
0
97
[RU] Codegeneration in Java as way to solve autotest problems
lanwen
0
170
[RU] Codegeneration as way to help test automation engeneers
lanwen
0
81
Juseppe
lanwen
1
570
[RU] GIMME your first Autotest!
lanwen
1
410
SPb Jenkins Meetup #0 Как начать писать плагин для Jenkins? И когда этого не делать?
lanwen
3
660
Other Decks in Programming
See All in Programming
新卒から4年間、20年もののWebサービスと 向き合って学んだソフトウェア考古学
oguri
8
7.2k
自分のために作ったアプリが、グローバルに使われるまで / Indie App Development Lunch LT
pixyzehn
1
150
小田原でみんなで一句詠みたいな #phpcon_odawara
stefafafan
0
320
Building a macOS screen saver with Kotlin (Android Makers 2025)
zsmb
1
140
Bedrock×MCPで社内ブログ執筆文化を育てたい!
har1101
6
870
[NG India] Event-Based State Management with NgRx SignalStore
markostanimirovic
0
110
技術選定を未来に繋いで活用していく
sakito
3
100
PHPバージョンアップから始めるOSSコントリビュート / how2oss-contribute
dmnlk
1
970
Develop Faster With FrankenPHP
dunglas
2
3.2k
「影響が少ない」を自分の目でみてみる
o0h
PRO
2
960
Chrome Extension Techniques from Hell
moznion
1
160
DataStoreをテストする
mkeeda
0
280
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Building Adaptive Systems
keathley
41
2.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
178
52k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
19
1.1k
StorybookのUI Testing Handbookを読んだ
zakiyama
29
5.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.4k
Become a Pro
speakerdeck
PRO
27
5.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
135
33k
How to train your dragon (web standard)
notwaldorf
91
6k
How to Think Like a Performance Engineer
csswizardry
23
1.5k
Transcript
Your tests will ask you to repeat Kirill Merkushev Scalable
selenium infrastructure
2 less than 1
3 less than 10 1
4 less than 10 100 1 MORE than
5 Kirill Merkushev Open Source aerokube.com JAVA Go
6 driver Browser JAva Python JS BINDINGS WEBdriver protocol Internal
protocol webdriver architecture
7 driver Browser JAva Python JS BINDINGS WEBdriver protocol Internal
protocol selenium webdriver architecture WEBdriver protocol over NEt Selenium
8 Same tests
9 Same tests new env new errors? But
10 Same configuration? LOCAL SERVER
11 Same configuration? LOCAL SERVER
12 With stock selenium server your infrastructure is mutable
13 PlanWhat we have Alternatives one command to rule them
all
14 WE HAVE SElenium server
15 driver Browser JAva Python JS BINDINGS WEBdriver protocol Internal
protocol selenium webdriver architecture WEBdriver protocol over NEt Selenium
16 Official PROS
17 Official Widely used PROS
18 Official Widely used 44,902 Stackoverflow QA PROS
19 1 Browser = 1 server Cons
20 1 Browser = 1 server Setup All by yourself
Cons
21 1 Browser = 1 server Setup All by yourself
Cons java overhead
22 1 Browser = 1 server Setup All by yourself
44,902 Stackoverflow QA Cons java overhead
23 alternatives
24 alternatives selenium-standalone npm install -g
25 alternatives selenium-standalone start
26 alternatives selenium-standalone only local
27 alternatives selenium-standalone only local +npm!
28 alternatives zalando/zalenium github.com
29 alternatives zalando/zalenium github.com containers
30 alternatives zalando/zalenium github.com containers cloud providers
31 alternatives zalando/zalenium github.com containers cloud providers video
32 alternatives zalando/zalenium github.com 755MB
33 alternatives zalando/zalenium github.com 755MB MONOLITH
34 Aerokube Selenoid ui cm ggr .com
35 unix way do one thing, but do it well
36 cm selenoid start
37 cm selenoid start github.com/aerokube/cm
38 cm selenoid start containers (3/84)
39 cm selenoid start containers (3/84) driver, fonts, xfvb
40 cm selenoid start containers (3/84) driver, fonts, xfvb vnc
41 cm selenoid start containers (3/84) driver, fonts, xfvb vnc
in seconds
42 cm selenoid start webdriver protocol implementation
43 cm selenoid start webdriver protocol implementation golang = single
binary
44 cm selenoid start webdriver protocol implementation 7mb golang =
single binary
45 Same on local and remote features
46 Same on local and remote features Queues
47 Same on local and remote features Queues Custom capabilities
48 Same on local and remote features Queues Custom capabilities
Not only containers
49 Optimal configuration 1 browser 1xcpu 1GB RAM AUfs/overlayfs TMPFS
50 { "firefox": { } } browsers.json browser type
51 { "firefox": { "versions": { } } } browsers.json
Versions map
52 { "firefox": { "default": "46.0", "versions": { "46.0": {
"image": "selenoid/firefox:46.0", "port": "4444", } } } } browsers.json if not specified docker/binary
53 Need UI?
54 Need UI?
55 scalability resilience GGR
56 ggr Selenoid Selenoid alternative any selenium hub containers binary
57 ggr Selenoid Selenoid alternative any selenium hub containers binary
ggr slb
58 works with any selenium hub Fully stateless Battle tested
2yrs GGR
59 Drawbacks
60 - Where UI for GGR?
61 - Where UI for GGR? /status - telegraf -
grafana handle
62 GRAFANA aerokube/selenoid-grafana-example READY
63 - Too many tools to remember + configs +
logs to manage
64 + configs + logs simple, no downtime upgrage docker
log drivers - Too many tools to remember
65 - no video recording
66 - no video recording vnc separate solution for video
67 All for making your infrastructure immutable
68 6 months Support chat GitHub Stars 290 Docker pulls
10k Documentation Community 130 t.me/aerokube
69 How can it help you?
70 How can it help you? Easy to start
71 How can it help you? Easy to start Modular
72 How can it help you? Easy to start Modular
Without overhead
73 How can help exactly you?
74 we are open to talk! aerokube.com github.com/aerokube t.me/aerokube kirill
merkushev @delnariel github.com/lanwen