Sign inSign up

akeem/selenium-node-phantomjs

By akeem

•Updated almost 11 years ago

A docker image of PhantomJS 2.0 / GhostDriver that's compatible with selenium grid hub

Image
13

100K+

akeem/selenium-node-phantomjs repository overview

⁠Selenium Grid Node - PhantomJS

A docker image of PhantomJS 2.0 / GhostDriver that's compatible with selenium grid hub

This version of PhantomJS has been patched to fix ghostdriver/#394⁠

⁠Dockerfile

akeem/selenium-node-phantomjs Dockerfile⁠

⁠How to use this image

First, you will need a Selenium Grid Hub that the Node will connect to.

$ docker run -d -P --name selenium-hub selenium/hub

Once the hub is up and running will want to launch nodes that can run tests. You can run as many nodes as you wish.

$ docker run -d --link selenium-hub:hub akeem/selenium-node-phantomjs

Use PHANTOMJS_OPTS environment variable to pass additional command line options to the phantomjs node. For example to ignore SSL errors:

$ docker run -d -e "PHANTOMJS_OPTS=--ignore-ssl-errors=true" --link selenium-hub:hub akeem/selenium-node-phantomjs

Tag summary

Content type

Image

Digest

sha256:dc1344094…

Size

594.8 MB

Last updated

almost 11 years ago

docker pull akeem/selenium-node-phantomjs