Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 997 Bytes

README.md

File metadata and controls

28 lines (25 loc) · 997 Bytes

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 .