Public | Automated Build

Last pushed: 4 hours ago
Short Description
Docker image to easily run Selenium tests using webdriverIO.
Full Description

Introduction

Docker image to easily run Selenium tests using webdriverIO.

Getting started

Requirements

Usage

To use this image to run your app tests you can add the following to a docker-compose.yml file:

version: '2'
services:
    webdriverio:
        image: huli/webdriverio:latest
        depends_on:
            - chrome
            - firefox
        volumes:
            - {{replace_with_path_of_wdio.conf.js_file}}:/app

    hub:
        image: selenium/hub
        ports:
            - 4444:4444

    firefox:
        image: selenium/node-firefox
        ports:
            - 5900
        environment:
            - HUB_PORT_4444_TCP_ADDR=hub
        depends_on:
            - hub

    chrome:
        image: selenium/node-chrome
        ports:
            - 5900
        environment:
            - HUB_PORT_4444_TCP_ADDR=hub
        depends_on:
            - hub

Then simply run:

docker-compose run --rm webdriverio wdio

Configuration

This image comes with the following packages preinstalled:

Docker Pull Command
Owner
huli
Source Repository

Comments (0)