docker-selenium-node-phantomjs

所属分类:前端开发
开发工具:Python
文件大小:3KB
下载次数:0
上传日期:2016-08-09 19:44:00
上 传 者sh-1993
说明:  PhantomJS 2.0 GhostDriver的docker映像,与selenium网格中心兼容
(A docker image of PhantomJS 2.0 GhostDriver that s compatible with selenium grid hub)

文件列表:
Dockerfile (1312, 2016-08-10)
docker-compose.yml (321, 2016-08-10)
join-hub.sh (242, 2016-08-10)
run-test.sh (72, 2016-08-10)
test (0, 2016-08-10)
test\Dockerfile (92, 2016-08-10)
test\requirements.txt (30, 2016-08-10)
test\test.py (469, 2016-08-10)

# 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](https://github.com/detro/ghostdriver/issues/394) ## Dockerfile [`akeem/selenium-node-phantomjs` Dockerfile](https://github.com/AkeemMcLennon/docker-selenium-node-phantomjs/blob/master/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

近期下载者

相关文件


收藏者