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
380
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
110
[RU] Codegeneration in Java as way to solve autotest problems
lanwen
0
190
[RU] Codegeneration as way to help test automation engeneers
lanwen
0
96
Juseppe
lanwen
1
630
[RU] GIMME your first Autotest!
lanwen
1
430
SPb Jenkins Meetup #0 Как начать писать плагин для Jenkins? И когда этого не делать?
lanwen
3
760
Other Decks in Programming
See All in Programming
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.2k
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
140
モダンOBSプラグイン開発
umireon
0
190
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
ロボットのための工場に灯りは要らない
watany
12
3.2k
AI-DLC 入門 〜AIコーディングの本質は「コード」ではなく「構造」〜 / Introduction to AI-DLC: The Essence of AI Coding Is Not “Code” but “Structure”
seike460
PRO
0
110
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
440
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
130
Ruby and LLM Ecosystem 2nd
koic
1
1.4k
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
4.9k
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
270
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
710
Featured
See All Featured
Building Adaptive Systems
keathley
44
3k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
100
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
120
How to make the Groovebox
asonas
2
2.1k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
660
Navigating Weather and Climate Data
rabernat
0
150
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
Making Projects Easy
brettharned
120
6.6k
The Language of Interfaces
destraynor
162
26k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Automating Front-end Workflow
addyosmani
1370
200k
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