Efficient Selenium Infrastructure

Feb 7, 2019. 10:00 - 18:00

Minsk, Renaissance Hotel

This workshop shows how to build efficient and scalable browser automation infrastructure using new tools: Selenoid and Ggr. You will be taught why running browsers in containers is so efficient, how to easily install Selenoid for local development and then create a fault-tolerant cluster with Ggr load-balancer.

To attend this class it is recommended to have some experience with Selenium, Linux shell and Docker. We also expect to have Docker installed on your computer and have some example Selenium tests to run.

[RU]
Воркшоп рассказывает, как создать эффективную и масштабируемую инфраструктуру автоматизации браузера с использованием инструментов Selenoid и Ggr. Вы узнаете почему браузеры в контейнерах настолько эффективны, как легко установить Selenoid для локальной разработки, а затем создать эффективный отказоустойчивый кластер с балансировщиком нагрузки Ggr.

Для участия в этом тренинге рекомендуется иметь некоторый опыт работы с Selenium, командной строкой Linux и Docker. Мы также ожидаем, что Docker будет установлен на вашем компьютере и у вас будет с собой несколько Selenium тестов для запуска.

Целевая аудитория:

  • Веб-разработчики
  • Инженеры по автоматизации тестирования

Вы научитесь:

  • Устанавливать и запускать Selenoid
  • Работать с базовыми функциями Selenoid
  • Создавать и сопровождать Selenoid кластер
  • Настраивать Ggr
  • Использовать продвинутые функции Selenoid для больших кластеров

Agenda

Part I. Local browser tests development

  1. Selenium: 20 mins of theory
    • Brief Selenium history
    • Current WebDriver architecture
    • How Selenoid works
  2. Selenoid installation for tests development
    • What is required to start Selenoid
    • Manual installation: creating config file, pulling browser images, starting Selenoid
    • Shorter way: fully automated installation via CM tool
    • Selenoid UI installation and features
  3. Basic Selenoid features:
    • Custom screen resolution
    • Looking at live browser screen
    • Recording and downloading video
    • Custom test name
  4. Updating browsers
    • Automatically
    • Manually

Part II. Creating Selenium cluster

  1. Selenium clusters theory
    • Why Selenium Grid is not suitable
    • Client-side load balancing
    • Server-side load-balancing
    • How to share state. Session ID magic
    • Ggr server. How it works
  2. Setting up Ggr
    • Creating users file
    • Creating quota file
    • Starting Ggr
    • Running tests against Ggr
  3. Cluster Maintenance
    • Changing available browsers with no downtime
    • Adding users with no downtime
    • How to deal with multiple quota files
    • Proxying to external commercial Selenium services
    • Proxying video, logs, downloaded files
    • Adding more Ggr instances. Health checking instances
  4. Ggr UI
    • How it works
    • Setting up and linking with Selenoid UI

Part III. Advanced Selenoid features for big clusters

  1. Advanced browsers configuration file fields
    • Volumes
    • Environment variables
    • Tmpfs
    • Hosts entries
    • ShmSize
  2. Sending logs to centralized logs storage
    • Why? Centralized logging storages
    • How to configure Selenoid to send logs
  3. Sending statistics to centralized metrics storage
    • /status API
    • Configuring Telegraf to upload statistics
    • Creating statistics dashboard with Grafana
  4. Building custom browser images
    • What’s inside browser image
    • Ready to use browser images
    • How to build custom image
  5. Selenoid for Windows browsers
    • How it works without Docker
    • Difference in configuration file
    • How to run multiple isolated sessions under Windows

Speaker

Ivan krutov. Selenoid workshop

Ivan Krutov

Developer, Aerokube


More about speaker

Who will be interested

web developers, test automation engineers.
Good for Middle+ and up to Lead Engineers

Equipment

laptop, with several selenium tests

For Companies:
you want to pay via bank transfer, just Fill the Form and mention Workshop name in requisites.

Price - 325 BYN

buy ticket