1. Quick Start Guide
1.1. You have Docker
-
Start UI with one command:
# docker run -d --name selenoid-ui --net host aerokube/selenoid-ui
-
If you don’t want to use
--net host
or have no support (e.g. under MacOS) you need to determine your Docker host IP address. Then launch Selenoid UI like the following:# docker run -d --name selenoid-ui -p 8080:8080 aerokube/selenoid-ui -selenoid-uri http://<host-ip>:4444
1.2. You don’t have Docker
-
Download Selenoid UI binary from releases page.
-
Start it:
$ ./selenoid-ui
-
To connect to remote Selenoid just specify its URI:
$ ./selenoid-ui -selenoid-uri http://<host-ip>:4444
2. Features list:
2.1. Stats
Shows current quota usage, pending browsers and queue. Gets updates via SSE, so no need to refresh browser to see what happens.
2.2. Capabilities
You can choose browser from the available browser list and UI will provide an example of setup with right capabilities. Examples available for several languages.
2.3. VNC
If you get browser from selenoid with enableVNC=true
capability, you can see list of available screens:
VNC allows to see and interact with browser:
Please refer to selenoid documentation about VNC usage.
3. Contributing & Development
1) Ensure you have yarn and go-bindata-assetfs installed
-
For tests deps install
go get -u github.com/aandryashin/matchers
2) Generate static resources:
$ go generate ./web ./...
3) Build:
$ go build
4) To build Docker container type:
$ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build
$ docker build -t selenoid-ui:latest .