Skip to content

Running selenium grid through docker

Soumyajit Basu (C0r3f!nd3r) edited this page Jun 12, 2020 · 1 revision

Running the HUB

$ docker run -p 4444:4444 --name selenium-hub selenium/hub
# Run the hub, forwarding the "4444" port from the docker container to the host machine.

Running the CHROME node

$ docker run --link selenium-hub:hub selenium/node-chrome
# Run the chrome node and link it to the `--name` we specified for the hub.

Running the FIREFOX node

$ docker run --link selenium-hub:hub selenium/node-firefox
# Run the firefox node and link it to the `--name` we specified for the hub.
Clone this wiki locally