- Use a standard docker container to execute selenium tests
- Easier to setup and recreate ... even easy to recreate the container for every test run which provides better repeatable test results
- Overhead to have many containers for each browser in minimal.
Run selenium server for firefox
$ docker run -d -p 4444:4444 -e SCREEN_WIDTH=1280 -e SCREEN_HEIGHT=1024 -e SCREEN_DEPTH=24 selenium/standalone-firefox:2.53.1-beryllium
Run selenium server for firefox with debug
$ docker run -d -p 4444:4444 -p 5901:5900 -e no_proxy=localhost -e SCREEN_WIDTH=1280 -e SCREEN_HEIGHT=1024 -e SCREEN_DEPTH=24 selenium/standalone-firefox-debug:2.53.1-beryllium
Open Safari and enter
vnc://localhost:5901
The password is "secret"
Overview
Content Tools