org.stjs.testing.driver
Class Xvfb
java.lang.Object
org.stjs.testing.driver.Xvfb
- All Implemented Interfaces:
- AsyncProcess
public class Xvfb
- extends Object
- implements AsyncProcess
Controls an Xvfb (X virtual frame buffer) server so that any browser can be started in a headless way on Linux. Most of the code from this
class was shamelessly ripped from the selenium-maven-plugin (though the xauth stuff was intentionally left out)s
- Author:
- lordofthepigs
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Xvfb
public Xvfb(DriverConfiguration config)
start
public void start()
- Specified by:
start in interface AsyncProcess
stop
public void stop()
- Specified by:
stop in interface AsyncProcess
getDisplay
public String getDisplay()
Copyright © 2013. All Rights Reserved.