com.atlassian.selenium.browsers.firefox
Class DisplayAwareFirefoxLauncher

java.lang.Object
  extended by com.atlassian.selenium.browsers.firefox.DisplayAwareFirefoxLauncher
All Implemented Interfaces:
org.openqa.selenium.browserlaunchers.BrowserLauncher

public class DisplayAwareFirefoxLauncher
extends Object
implements org.openqa.selenium.browserlaunchers.BrowserLauncher

This is an override of the FirefoxLauncher class from selenium. This allows us to control the display system property for xvfb.


Constructor Summary
DisplayAwareFirefoxLauncher(org.openqa.selenium.Capabilities browserOptions, org.openqa.selenium.server.RemoteControlConfiguration configuration, String sessionId, String browserLaunchLocation)
           
 
Method Summary
 void close()
           
 void launchHTMLSuite(String suiteUrl, String baseUrl)
           
 void launchRemoteSession(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayAwareFirefoxLauncher

public DisplayAwareFirefoxLauncher(org.openqa.selenium.Capabilities browserOptions,
                                   org.openqa.selenium.server.RemoteControlConfiguration configuration,
                                   String sessionId,
                                   String browserLaunchLocation)
                            throws org.openqa.selenium.server.browserlaunchers.InvalidBrowserExecutableException
Throws:
org.openqa.selenium.server.browserlaunchers.InvalidBrowserExecutableException
Method Detail

close

public void close()
Specified by:
close in interface org.openqa.selenium.browserlaunchers.BrowserLauncher

launchHTMLSuite

public void launchHTMLSuite(String suiteUrl,
                            String baseUrl)
Specified by:
launchHTMLSuite in interface org.openqa.selenium.browserlaunchers.BrowserLauncher

launchRemoteSession

public void launchRemoteSession(String url)
Specified by:
launchRemoteSession in interface org.openqa.selenium.browserlaunchers.BrowserLauncher


Copyright © 2014 Atlassian. All rights reserved.