Docker file for Web application UI automation testing with selenium & phantomjs.
This Dockerfile can create a docker image which can use for web application UI automation testing.
Leverage selenium for web UI automation and phantomjs as headless webKit.
Run robotframwork CLI command with no robotframework tag
$ docker run --rm \
-v ${PATH}/rf-scripts:/rf-scripts \
-it charleshsiao/robotframework-web \
robot /rf-scripts
Run robotframwork CLI command with specific robotframework tag ${RF_TAG}
$ docker run --rm \
-v ${PATH}/rf-scripts:/rf-scripts \
-it charleshsiao/robotframework-web \
robot -i ${RF_TAG} /rf-scripts