com.atlassian.selenium
Class AbstractSeleniumConfiguration

java.lang.Object
  extended by com.atlassian.selenium.AbstractSeleniumConfiguration
All Implemented Interfaces:
SeleniumConfiguration
Direct Known Subclasses:
ParameterizedSeleniumConfiguration, SystemPropertySeleniumConfiguration

public abstract class AbstractSeleniumConfiguration
extends Object
implements SeleniumConfiguration

An abstract implementation of the SeleniumConfigurationClass that has methods that return default values for some of the configuration variables

Since:
v3.12

Constructor Summary
AbstractSeleniumConfiguration()
           
 
Method Summary
 long getActionWait()
          The time that various utility classes will wait after performing some Selenium action like the mouseOver method in the SeleniumClient.
 long getConditionCheckInterval()
          The time in milliseconds between condition checks.
 String getFirefoxProfileTemplate()
          Gets firefox profile location
 long getPageLoadWait()
          The maximum time various utility clasess will wait for a page to load.
 String getPerformanceReportLocation()
          By default return null so reports aren't generated.
 boolean getShowAutoGeneratedPerformanceEvents()
          By default return false so only events with explicit keys are recorded (if a report location is specified).
 boolean getSingleWindowMode()
          Only applies if Selenium Server is started by the Atlassian Selenium Framework Will run the selenium server in single browser window or split between a command window and a test window
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.selenium.SeleniumConfiguration
getBaseUrl, getBrowserStartString, getServerLocation, getServerPort, getStartSeleniumServer
 

Constructor Detail

AbstractSeleniumConfiguration

public AbstractSeleniumConfiguration()
Method Detail

getActionWait

public long getActionWait()
Description copied from interface: SeleniumConfiguration
The time that various utility classes will wait after performing some Selenium action like the mouseOver method in the SeleniumClient.

Specified by:
getActionWait in interface SeleniumConfiguration

getPageLoadWait

public long getPageLoadWait()
Description copied from interface: SeleniumConfiguration
The maximum time various utility clasess will wait for a page to load. Ideally this value should be used where ever a test waits for a page to load.

Specified by:
getPageLoadWait in interface SeleniumConfiguration

getConditionCheckInterval

public long getConditionCheckInterval()
Description copied from interface: SeleniumConfiguration
The time in milliseconds between condition checks.

Specified by:
getConditionCheckInterval in interface SeleniumConfiguration
See Also:
SeleniumAssertions#byTimeout(Condition)}

getFirefoxProfileTemplate

public String getFirefoxProfileTemplate()
Description copied from interface: SeleniumConfiguration
Gets firefox profile location

Specified by:
getFirefoxProfileTemplate in interface SeleniumConfiguration

getSingleWindowMode

public boolean getSingleWindowMode()
Description copied from interface: SeleniumConfiguration
Only applies if Selenium Server is started by the Atlassian Selenium Framework Will run the selenium server in single browser window or split between a command window and a test window

Specified by:
getSingleWindowMode in interface SeleniumConfiguration

getPerformanceReportLocation

public String getPerformanceReportLocation()
By default return null so reports aren't generated.

Specified by:
getPerformanceReportLocation in interface SeleniumConfiguration
Returns:

getShowAutoGeneratedPerformanceEvents

public boolean getShowAutoGeneratedPerformanceEvents()
By default return false so only events with explicit keys are recorded (if a report location is specified).

Specified by:
getShowAutoGeneratedPerformanceEvents in interface SeleniumConfiguration
Returns:


Copyright © 2014 Atlassian. All rights reserved.