Skip to content
hekra01 edited this page Jan 27, 2017 · 25 revisions

QtWebDriver can be deployed using this Dockerfile.

Build

The Dockerfile build QtWebdriver for Qt5.4. The supported build arguments are:

  • QPA_PLATFORM: specifies the QPA platform. Defaults to offscreen for headless testing

Run

The Dockerfile runs the WebDriver on the default port 9517.

The usual WebDriver command line parameters are accepted by the container.

e.g: Run QtWebDriver in verbose mode on port 9520 and map the port 9520 to the host port 9530.

$ docker run -ti --rm -p 9530:9517 qtwebdriver:latest --port 9520 --verbose
Clone this wiki locally