joabgonzalez
6/22/2018 - 8:54 PM

Docker Compose Selenium Grid

docker compose para generar contenedores con navegadores para ejecucion de pruebas automatizadas

---
# Selenium Grid Solution
version: "3"
services:
  selenium-hub:
    image: "selenium/hub"
    container_name: "selenium-hub"
    ports:
      - "4444:4444"
  chrome:
    image: "selenium/node-chrome"
    depends_on:
      - "selenium-hub"
    links:
      - "selenium-hub:hub"
    environment:
      - "HUB_HOST=selenium-hub"
      - "HUB_PORT=4444"
  firefox:
    image: "selenium/node-firefox"
    depends_on:
      - "selenium-hub"
    links:
      - "selenium-hub:hub"
    environment:
      - "HUB_HOST=selenium-hub"
      - "HUB_PORT=4444"