Skip to content

jangrewe/docker-selenium-node-phantomjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.6%
  • Shell 30.4%