• Stars
    star
    314
  • Rank 133,353 (Top 3 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A lightweight load balancer used to create big Selenium clusters

Go Grid Router

Build Status Coverage GoReport Release Docker Pulls

Go Grid Router (aka Ggr) is a lightweight active load balancer used to create scalable and highly-available Selenium clusters. Ggr Animation

Articles

Quick Start Guide

To use Go Grid Router do the following:

  1. Install Docker to host
  2. Create configuration directory:
$ mkdir -p /etc/grid-router/quota
  1. Create users.htpasswd file:
$ htpasswd -bc /etc/grid-router/users.htpasswd test test-password
  1. Start Selenium standalone server on port 4445:
$ java -jar selenium-server-standalone.jar -port 4445

You can also start Selenoid instead.

  1. Create quota file (use correct browser name and version):
$ cat /etc/grid-router/quota/test.xml
<qa:browsers xmlns:qa="urn:config.gridrouter.qatools.ru">
<browser name="firefox" defaultVersion="59.0">
    <version number="59.0">
        <region name="1">
            <host name="localhost" port="4445" count="1"/>
        </region>
    </version>
</browser>
</qa:browsers>

Note: file name should correspond to username you added to htpasswd file. For user test we added on previous steps you should create test.xml.

  1. Start Ggr container:
# docker run -d --name ggr -v /etc/grid-router/:/etc/grid-router:ro --net host aerokube/ggr:latest-release
  1. Access Ggr on port 4444 in the same way you do for Selenium Hub but using the following url:
http://test:test-password@localhost:4444/wd/hub

Complete Guide & Build Instructions

Complete reference guide (including build instructions) can be found at: http://aerokube.com/ggr/latest/

More Repositories

1

selenoid

Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.
Go
2,572
star
2

selenoid-ui

Graphical user interface for Selenoid project
JavaScript
297
star
3

windows-images

Step by step instructions for building Docker images with Windows
Shell
221
star
4

moon

Browser automation solution for Kubernetes and Openshift supporting Selenium, Playwright, Puppeteer and Cypress
HTML
194
star
5

images

Browser images for Selenoid and Moon 1.x
Go
168
star
6

cm

Configuration manager for Aerokube products
Go
117
star
7

moon-deploy

Moon 1.x one-command deployment configuration
39
star
8

ggr-ui

The missing /status API for Ggr
Go
39
star
9

lightning-java

Lightweight and lightning fast Java WebDriver client for test automation professionals
Java
30
star
10

selenium-openapi

The missing Selenium OpenAPI spec
Shell
27
star
11

elk-config

ELK stack configuration files
26
star
12

selenoid-grafana-example

Telegraf + InfluxDB + Grafana example for selenoid metrics collection
Shell
20
star
13

chrome-developer-tools-protocol-java-example

An example of using Java client to work with Chrome Developer Tools Protocol in Selenoid
Java
18
star
14

selenoid-container-tests

An automated Java test suite to check browser images quality
Java
13
star
15

charts

Aerokube Helm Charts Repository
Smarty
11
star
16

selenium-mock

Selenium Hub emulator
Go
9
star
17

demo-tests

A set of demonstration tests
Java
8
star
18

init

Correct init process for Docker containers
Go
8
star
19

moon-cloud-webdriverio-example

An example Webdriver.io project demonstrating how to work with Moon Cloud
JavaScript
4
star
20

moon-cloud-playwright-example

JavaScript
4
star
21

aerokubot

Simple Telegram bot to help with support chat
Go
4
star
22

cloud-images

Ansible playbooks to build images for cloud platforms
Shell
3
star
23

cypress-moon

NPM package source for Cypress integration with Moon
JavaScript
2
star
24

lightning-java-examples

Examples for Lightning WebDriver client
Java
2
star
25

kubernetes-selenium-desktop

One-command automation scripts allowing to quickly deploy Moon
Batchfile
2
star
26

selenium-load-generator

A standalone binary to easily generate Selenium cluster load from the local machine.
Go
1
star
27

moon-cloud-codeception-example

An example Codeception project demonstrating how to work with Moon Cloud
PHP
1
star
28

moon-cloud-puppeteer-example

An example demonstrating using Moon Cloud with Puppeteer
JavaScript
1
star
29

python-demo-test

Selenium Python demo test
Python
1
star
30

boot

Solution to launch lightweight test and development virtual machines in Kubernetes
HTML
1
star
31

moon-cloud-protractor-example

An example Protractor project demonstrating how to work with Moon Cloud
JavaScript
1
star
32

moon-cloud-cypress-example

An example Cypress project demonstrating how to work with Moon Cloud
JavaScript
1
star