Skip to content

aerokube/selenium-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 .