Skip to content

Sample project that shows how to use a Selenium Hub/Selenium nodes running in Docker from your tests

Notifications You must be signed in to change notification settings

joostvanwollingen/selenium-grid-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium-Grid-Docker sample project

Sample project that shows how to use a Selenium Hub/Selenium nodes running in Docker from your tests

Setup

  • Forward ports from your docker-vm

    • 5900 for VNC
    • 4444 for Selenium Hub
  • Start the Selenium hub and node-firefox-debug

    $  docker-compose up --force-recreate

    --force-recreate as a work around for SeleniumHQ/docker-selenium#91

OR:

  • Start the hub and nodes you want separately

    $ docker run --rm -p 4444:4444 --name selenium-hub selenium/hub
    $ docker run --rm -P -p 5900:5900 --link selenium-hub:hub selenium/node-firefox-debug

    Visit https://github.com/SeleniumHQ/docker-selenium for more node containers

Watching test execution with VNC

Connect using a VNC viewer to node-firefox-debug with port 5900, password: secret (no username)

About

Sample project that shows how to use a Selenium Hub/Selenium nodes running in Docker from your tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages