Examples of Xvfb


Examples of org.stjs.testing.driver.Xvfb

    super(config);
  }

  @Override
  protected void startProcess(BrowserLocator locator, String binPropertyName, String url) throws InitializationError {
    Xvfb xvfb = JUnitSession.getInstance().getDependency(Xvfb.class);
    ProcessBuilder builder = buildProcess(locator, binPropertyName, url);
    builder.environment().put("DISPLAY", xvfb.getDisplay());
    this.process = startProcess(builder);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.