https://github.com/aerokube/selenium-mock
Selenium Hub emulator
https://github.com/aerokube/selenium-mock
emulator mock selenium-webdriver
Last synced: 3 months ago
JSON representation
Selenium Hub emulator
- Host: GitHub
- URL: https://github.com/aerokube/selenium-mock
- Owner: aerokube
- License: apache-2.0
- Created: 2016-11-28T18:05:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T08:45:51.000Z (over 8 years ago)
- Last Synced: 2025-06-06T23:09:08.300Z (4 months ago)
- Topics: emulator, mock, selenium-webdriver
- Language: Go
- Size: 65.4 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Selenium Mock
[](https://travis-ci.org/aerokube/selenium-mock)
[](https://github.com/aerokube/selenium-mock/releases/latest)This repository contains a small binary emulating real Selenium Hub responses. The main application - load testing of Selenium proxies like [Gridrouter](http://github.com/aandryashin/ggr).
## 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](https://github.com/kardianos/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 .
```