org.stjs.testing.driver
Class Xvfb

java.lang.Object
  extended by 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

Constructor Summary
Xvfb(DriverConfiguration config)
           
 
Method Summary
 String getDisplay()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Xvfb

public Xvfb(DriverConfiguration config)
Method Detail

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.