aandryashin / selenium-mock

Selenium Hub emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Selenium Mock

Build Status Release

This repository contains a small binary emulating real Selenium Hub responses. The main application - load testing of Selenium proxies like Gridrouter.

Running

Run the following command to obtain running selenium-mock on port 4444:

# docker run --rm -it --name selenium-mock -p 4444:4444 aerokube/selenium-mock:1.0.0

Building

To build install Govendor and type:

$ go get github.com/aerokube/selenium-mock
$ cd $GOPATH/src/github.com/aerokube/selenium-mock
$ govendor sync
$ go build

Then run:

$ ./selenium-mock -port 4444

To create Docker container type:

$ docker build -t selenium-mock:latest .

About

Selenium Hub emulator

License:Apache License 2.0


Languages

Language:Go 99.7%Language:Shell 0.3%