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
340
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
91
[RU] Codegeneration in Java as way to solve autotest problems
lanwen
0
170
[RU] Codegeneration as way to help test automation engeneers
lanwen
0
73
Juseppe
lanwen
1
530
[RU] GIMME your first Autotest!
lanwen
1
400
SPb Jenkins Meetup #0 Как начать писать плагин для Jenkins? И когда этого не делать?
lanwen
3
590
Other Decks in Programming
See All in Programming
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
920
CPython 인터프리터 구조 파헤치기 - PyCon Korea 24
kennethanceyer
0
240
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
140
Kaigi on Rails 2024 - Rails APIモードのためのシンプルで効果的なCSRF対策 / kaigionrails-2024-csrf
corocn
5
3.4k
/←このスケジュール表に立ち向かう フロントエンド開発戦略 / A front-end development strategy to tackle a single-slash schedule.
nrslib
1
590
Realtime API 入門
riofujimon
0
110
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
23k
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
480
外部システム連携先が10を超えるシステムでのアーキテクチャ設計・実装事例
kiwasaki
1
230
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
3
400
RailsのPull requestsのレビューの時に私が考えていること
yahonda
5
1.7k
Sidekiqで実現する 長時間非同期処理の中断と再開 / Pausing and Resuming Long-Running Asynchronous Jobs with Sidekiq
hypermkt
6
2.7k
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
Learning to Love Humans: Emotional Interface Design
aarron
272
40k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Designing on Purpose - Digital PM Summit 2013
jponch
115
6.9k
Code Review Best Practice
trishagee
64
17k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
Designing for Performance
lara
604
68k
How to train your dragon (web standard)
notwaldorf
88
5.7k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
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