我建议您熟悉帕维尔·塞宁(Pavel Senin)对2017年报告的解读“ Selenoid-轻松快速地进行数百个并行UI测试”。
![](https://habrastorage.org/webt/mi/cv/ac/micvac65vuvkclscliuznzlclmw.png)
今天,我将向您介绍一个有关Yandex的开发人员的新项目,他们对如何并行运行成千上万的测试有很多了解,这使我们的这项工作变得更加容易。
![](https://habrastorage.org/webt/hh/j4/rz/hhj4rzxi-wgozyhi22fn1n2t0tk.png)
. IT 2007- , it-. . . , . , , , . .
![](https://habrastorage.org/webt/yw/1w/sg/yw1wsgdp6mu0wwwrodhmpieypzw.png)
production-, Selenoid . . , , . , Selenoid.
Selenoid Selenium Server. , Selenium Server.
, , . , , , , . .
. , Selenoid , . , , Selenoid.
![](https://habrastorage.org/webt/-m/ks/xi/-mksxiki0hwjdwdcoqyd_rqfj3i.png)
, . , , Outlook «» , . . UI. JavaScript- , . . . , , - 5-10 . - .
. .
– , . . Windows 10. . , .
. , , , . . , . , UI- 5-20 – .
30 . , , .
![](https://habrastorage.org/webt/p-/hb/xm/p-hbxmefrymksx7v1fcsm2cmt6e.png)
? c Windows 10. 30 , 30 . Eclipse. . Jenkins, .
, ? , , . Windows server 2008 R2, Chrome, FF . , .
. – 15 . Selenium Server .
, . .
. . regression jobs , , . . .
![](https://habrastorage.org/webt/r6/sk/dg/r6skdgsu3_0y0e4ca8lnapfdu6y.png)
? , . . . , , . . , , , . . .
. - 30-40 . DevOps- . . , , . .
Windows. . Selenium Server , . .
. . , . GB , . , , .
. UI , , - . - .
![](https://habrastorage.org/webt/34/8l/sa/348lsas0wnjt9a95iymbztwbdo4.png)
, . , . . , .
zalenium. . . Selenium Server , , , – BrowserStack .
, Selenium Hub , , , . 1000 , Selenium Hub , . Selenium Hub. , Selenium Hub , .
. -. . , , . ., , . Apache Mesos – . , . . Selenium Hub. , , .
Jsonwire Grid. . ? , Selenium Server . , Selenium Server , , , . , , - .
![](https://habrastorage.org/webt/si/2c/ir/si2cirej-sxhozh9eiyisps4mhc.png)
Selenoid? , . . . Selenium Server? ip Selenium Server . Selenium Server . . WebDriver , . WebDriver .
Selenoid ? . Selenium Server. . , . .
Selenoid . Capabilities Chrome 56- , 56- , . - , , , , . . .
WebDriver, WebDriver : , , . . – , flash.
![](https://habrastorage.org/webt/nz/hm/ax/nzhmaxfo3wsccl8ybcrpbv8m1sg.png)
Selenoid? . . , Selenoid: Selenoid Selenoid UI. . Selenoid UI – Selenoid. , .
, , . . . . Selenoid .
, Selenoid, . . , . VNC, . .
Selenoid. . . . . , , . , . IE, . . , .
![](https://habrastorage.org/webt/z-/ej/jo/z-ejjo3cpwrmqubzsrzxlcsl6ck.png)
, .
.
, . . 30 . , . , CPU , .
30 . Selenoid , , , 5-10 DDoS-, . – , . JavaScript .
. , DevOps, . . , , .
, . , , . . .
![](https://habrastorage.org/webt/jg/vh/gp/jgvhgppynoraugjqmlf0h-9hsnq.png)
. , . 36 , 34 GB . .
![](https://habrastorage.org/webt/nt/nu/tp/ntnutpsf0fib_-12v2tw6dblk3a.png)
Selenoid Selenium Server.
![](https://habrastorage.org/webt/9x/kt/z3/9xktz3bpw2l1e97mak-teyjhwj8.png)
, :
Selenoid , Selenium Server.
.
.
UI .
, , . , , Selenoid . , - .
![](https://habrastorage.org/webt/fx/gl/s2/fxgls2edspktzwksdhrsgnth5pu.png)
Selenium Server? Java . . , -, , Selenium Server .
![](https://habrastorage.org/webt/1v/uh/bm/1vuhbmskv4fmh7fcqcllugatudu.png)
Selenoid? . . -, . . .
, Configuration Manager. . Selenoid, , . . . Selenoid. Selenium Server. .
![](https://habrastorage.org/webt/of/5u/vg/of5uvgmzo-h8h_b8pxlffbfgv-o.png)
, . . 30 – . - , - . , , - .
WebDriver .
Chrome, Firefox . production , .
![](https://habrastorage.org/webt/ue/n5/vb/uen5vbb_8olplo1awoy-0khecrq.png)
Selenoid ?
, WebDriver .
, . . . .
, .
![](https://habrastorage.org/webt/pd/x1/zp/pdx1zpk09_gl7ofqhzdnjgfu-0w.png)
config.json. , Configuration Manager. , JSON, Chrome, Firefox, Opera . . JSON , , . .
![](https://habrastorage.org/webt/gq/gr/ov/gqgrovhxldfy_wzmt5udcrwujdc.png)
. Selenium. , , .
- , , - , . : Firefox, Chrome . . Selenium 10-20 . .
![](https://habrastorage.org/webt/ps/zi/hs/pszihs9hxynaecwm6msljh01zh8.png)
Selenoid , . .
, CPU 200-500 MB . Windows Chrome, , , , - 500 MB . JavaScript, 20% 4- .
tmpfs, . . . , , cookies, , . . . , . tmpfs . .
, - . - . .
![](https://habrastorage.org/webt/wq/ph/sm/wqphsmhc1zirdpkafetai5wxw0c.png)
Selenium , . . Selenium Server Hub. . .
. Hub, . , , , 1 000. Selenium Hub . Java — Jetty, - . Stackoverflow 5 700 . , Selenium Server . . .
Selenium Server . UI-. , .
Selenium Hub . . .
![](https://habrastorage.org/webt/7j/eu/id/7jeuid3jdx32jyly-zqsq1vnabc.png)
Selenoid ? . 5 000 5 . Linux Windows.
Selenoid , Selenium Server Windows.
? , Go Grid Router. Selenium Hub. , . , . . . 5 000 10 Go Grid Router. Go Grid Router , Selenoid .
-, , , . , 10, - . , Go Grid Router , . , .
, , Go Grid Router. .
![](https://habrastorage.org/webt/nd/aq/s3/ndaqs3iddd2ydtzdfpv1g096myi.png)
, , Selenium Server . . Golang Selenium Server. . .
. , Selenium Server 500 MB , 10 , Selenoid 50-60 MB, . . 10 .
![](https://habrastorage.org/webt/t-/2x/sx/t-2xsx8ctzxzihjfg-oftnuiyos.png)
![](https://habrastorage.org/webt/gi/m9/m0/gim9m05o6rk80hgl85vjnap8jfo.png)
Selenium Grid .
. «» , .
![](https://habrastorage.org/webt/lg/kj/ga/lgkjgaspedh32su16rmsiyomf1q.png)
Selenoid . , .![](https://habrastorage.org/webt/v5/nx/eh/v5nxeh9ydb0gccowyutcg9hy1ey.png)
Selenoid.
? 80 % — , 80 %, . . , . , 5 . 4 . 4 + 0 – , . 4 Firefox. , Chrome, Firefox, Opera . .
![](https://habrastorage.org/webt/oh/f0/ct/ohf0cthp5cndem4aa-_mivh6uoc.png)
, . . , , . VNC, , . . . , XPATH CSS- . .
![](https://habrastorage.org/webt/wo/hk/5q/wohk5q_wmrpygfsj1bsd10ofvge.png)
, . Selenium Hub, . UI-, , Selenoid. Chrome 58- id .
UI .
![](https://habrastorage.org/webt/nt/bk/rr/ntbkrrqbrdgvij2jsahndqyd-w8.png)
Selenoid . . . Selenium Hub Selenoid .
Selenoid , .
CPU RAM. , JavaScript , . production.
![](https://habrastorage.org/webt/cp/74/ex/cp74exxuy6pnbly39kfgeqmgbz0.png)
.
![](https://habrastorage.org/webt/uk/fp/7l/ukfp7levspvaas4xujkou064n1a.png)
. .
Selenoid «». Selenoid, JSON Selenoid , .
Selenoid, . Selenium . , . WebDriver. X-, , .
. Selenoid . . , JSON , . , . graphite, Grafana. , , . , - - .
– , . . , , , . , , , .
, . , . . , VNC, capability , . , , Selenoid VNC , .
.
![](https://habrastorage.org/webt/br/vq/lz/brvqlzzejf0en5f_hdy2-xwmzje.png)
, Docker . .
![](https://habrastorage.org/webt/mz/zm/bp/mzzmbpb_lywpebvt1jbkn-6zbkg.png)
Hypervisor, . . . Docker. Hypervisor , , . , Windows, - , . . , .
Docker . . , . Docker () . - , . . .
![](https://habrastorage.org/webt/9f/w-/oh/9fw-oh9fc8vtvend2a83avvv8w4.png)
Linux? , , IE , , – Chrome, Firefox Opera, IE, Safari . , , IE Safari . Safari , . . . IE . Edge , Edge .
. – - , . , . . . . , , , hover , . , , , . . .
– . , Selenoid, . . . - , , -, Selenoid.
. .
, , .
, .
![](https://habrastorage.org/webt/vq/im/x7/vqimx71gytty17hcyghyjzs_cv0.png)
Selenoid Golang, , Windows. JSON, , IE , .
, IE. -, IE . . . Windows . - 5-10 .
Selenium capabilities, . . , . . . , , .
![](https://habrastorage.org/webt/yk/sk/4j/yksk4jxqplycbtm5bcyxtgldmak.png)
. ?
:
![](https://habrastorage.org/webt/w3/7c/cj/w37ccjcf52pqjf93bt9h2kzvfme.png)
:
Configuration manager.
Selenoid.
Selenoid-UI, .
. production, , Selenoid Selenoid-UI , .
43 .
. Ubuntu 16.04.3 – . , . , Docker . , .
, , . , . . Docker .
github.com/aerokube. Aerokube – . , , Selenoid. .. .
Configuration manager. . . , , . . , , , .
, wget «cm». 12 MB. . . «cm». .
«selenoid start». , , VNC.
. , , , Selenoid . . 10. .
, . Selenoid, . . Selenoid. . , Firefox, – Selenoid, Opera, Selenoid. Selenoid 13 MB. , , 700 MB. , Selenoid. , «4444». Selenium Server. .
JSON-, , Configuration manager. , 62.0 61.0 Chrome, 49.0 Firefox. , tmpfs. «configure --help». Selenoid. . . -, tmpfs. , , «tmpfs 256 --force». Force , . . , , .
. JSON- Selenoid.
, Selenoid . . . , . JSON. tmpfs. Tmpfs .
UI . . , , . . Docker. Configuration manager . , Selenoid-UI . «8080». . , - , . . Selenium Server. . . . , .
, , .
![](https://habrastorage.org/webt/uq/fw/th/uqfwthx1od0bp4n3t2d9pl30298.png)
Selenoid.
Eclipse 50 .
Eclipse, . . capabilities , VNC . capabilities . , - , . , .
. 4 - . , , . , . , .
, , - . VNC . VNC.
, . . «» . , , .
JSON, , , .
, , . capabilities . . . , . 5 , 3 . .
, , . , . , «/video». . , - .
, . , . , .
2 Selenoid. . 12 . . - , . , CPU.
, .
![](https://habrastorage.org/webt/my/5s/lt/my5sltwpfnvsccab6ism_v_kbie.png)
, 5 , Selenoid. , , . . , . , . , , .
. Selenium Hub. . , capabilities .
, . . , .
+ . . . . ? , , , , -. - , .
, , . , zalenium , . . Selenium Docker. Docker 150 000 . Selenoid 300 000 . , - 1 000. , Telegram- . , , Selenoid . , . . , .
![](https://habrastorage.org/webt/ne/25/ty/ne25ty1gysnqx7s1ccguore2iao.png)
这是开发人员联系方式:https : //github.com/aerokube。我建议您在他们的时间立即在Telegram上输入:https : //t.me/aerokube。他们反应很快。他们谈论新功能。而且他们的网站中内置了非常好的文档。
![](https://habrastorage.org/webt/dq/0x/wj/dq0xwjamgh77up06n0brpekjlri.png)
PS更新了播放列表,并提供了类硒素的演示https://www.youtube.com/watch?v=mxHqCMhpnaE&list=PLW7WVf1LXeWrCBv_48hOR-eWtshGBet9a
视频: