Public Repository

Last pushed: a year ago
Short Description
Run Selenium tests using Firefox and the Gradle
Full Description

Extension of the khozzy/selenium-java-firefox image with Gradle in it.

If you want to run your tests, use the following command:

 docker run --rm -it -w /tests \
          -v <path to your gradle project>:/tests \
         w32blaster/selenium-gradle \
          xvfb-daemon-run gradle test

But if you plan to run this command often, I recommend also mount the gradle local repository avoiding to download dependency again and again. Here is the full command:

  docker run --rm -it -w /tests \
          -v <path to your gradle project>:/tests \
          -v /tmp/gradle:/home/firefox/.gradle/caches \
          w32blaster/selenium-gradle \
          xvfb-daemon-run gradle test

Make sure, that the folder /tmp/gradle has write permissions for your user.

Docker Pull Command
Owner
w32blaster

Comments (0)