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
360
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
100
[RU] Codegeneration in Java as way to solve autotest problems
lanwen
0
180
[RU] Codegeneration as way to help test automation engeneers
lanwen
0
85
Juseppe
lanwen
1
600
[RU] GIMME your first Autotest!
lanwen
1
420
SPb Jenkins Meetup #0 Как начать писать плагин для Jenkins? И когда этого не делать?
lanwen
3
720
Other Decks in Programming
See All in Programming
MCPサーバー「モディフィウス」で変更容易性の向上をスケールする / modifius
minodriven
8
1.5k
開発生産性が組織文化になるまでの軌跡
tonegawa07
0
170
Bakuraku E2E Scenario Test System Architecture #bakuraku_qa_study
teyamagu
PRO
0
760
Swift Concurrency 年表クイズ
omochi
3
230
Phronetic Team with AI - Agile Japan 2025 closing
hiranabe
2
620
目的で駆動する、AI時代のアーキテクチャ設計 / purpose-driven-architecture
minodriven
6
1.3k
Nitro v3
kazupon
2
310
Module Harmony
petamoriken
2
400
仕様がそのままテストになる!Javaで始める振る舞い駆動開発
ohmori_yusuke
8
4.4k
チーム開発の “地ならし"
konifar
7
4.9k
CloudNative Days Winter 2025: 一週間で作る低レイヤコンテナランタイム
ternbusty
6
1.3k
ゼロダウンタイムでミドルウェアの バージョンアップを実現した手法と課題
wind111
0
180
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
The Pragmatic Product Professional
lauravandoore
36
7k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Why Our Code Smells
bkeepers
PRO
340
57k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Mobile First: as difficult as doing things right
swwweet
225
10k
Gamification - CAS2011
davidbonilla
81
5.5k
It's Worth the Effort
3n
187
28k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
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