Skip to content

Instantly share code, notes, and snippets.

@tuliobluz
Created November 19, 2018 15:06
Show Gist options
  • Save tuliobluz/feb5bf4249bf17fc9aed0130584ad40b to your computer and use it in GitHub Desktop.
Save tuliobluz/feb5bf4249bf17fc9aed0130584ad40b to your computer and use it in GitHub Desktop.
# Pull docker-selenium
docker pull elgalu/selenium
# Pull Zalenium
docker pull dosel/zalenium
# Run it!
docker run --rm -ti --name zalenium -p 4444:4444 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp/videos:/home/seluser/videos \
--privileged dosel/zalenium start
# Point your tests to http://localhost:4444/wd/hub and run them
# Stop
docker stop zalenium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment