I am running a selenium-server-standalone-2.39.0.jar on a Linux VM for running selenium tests in a headless way (xvfb + firefox).
While running, the Selenium server creates a lot of temporary directories and files in /tmp/ which are not deleted after the tests are finished.
The problem is that my /tmp/ disk is rather small and I would like to use /var/tmp for this purpose. However, I cannot find any way to do so.
Do you know a possibility?
Selenium uses the JVM
java.io.tmpdirproperty for this:java/client/src/org/openqa/selenium/io/TemporaryFilesystem.java:Set it by passing
-Djava.io.tmpdirto the JVM, e.g.:This question has more details about
java.io.tmpdir