selenium-node-firefox-debug
1.0K
This image is only intended for development purposes! Runs a Selenium Grid Node with a VNC Server to allow you to visually see the browser being automated. Since it runs additional services to support this it is too heavy weight for usage within a Selenium Grid cluster.
dnguyen3/selenium-node-firefox-debug Dockerfile
First, you will need a Selenium Grid Hub that the Node will connect to.
$ docker run -d -P --name selenium-hub dnguyen3/selenium-hub
Once the hub is up and running will want to launch nodes that can run tests.
$ docker run -d -P --link selenium-hub:hub dnguyen3/selenium-node-firefox-debug
You can acquire the port that the VNC server is exposed to by running:
$ docker port <container-name|container-id> 5950
#=> 0.0.0.0:5950
Using RealVNC you can look in view only mode, to avoid accidentally messing up your tests, utilizing our vncview script.
$ ./bin/vncview 127.0.0.1:5950
If you are running Boot2Docker on Mac then you already have a VNC client built-in. You can connect by entering vnc://<boot2docker-ip>:49160 in Safari or Alfred
When you are prompted for the password it is secret. If you wish to change this then you should either change it in the /NodeBase/Dockerfile and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
FROM selenium/node-firefox-debug:2.53.1
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
Content type
Image
Digest
Size
294.8 MB
Last updated
almost 10 years ago
docker pull dnguyen3/selenium-node-firefox-debug