com.atlassian.confluence.selenium.client
Class ConfluenceSeleniumConfiguration
java.lang.Object
com.atlassian.confluence.selenium.client.ConfluenceSeleniumConfiguration
- All Implemented Interfaces:
- com.atlassian.selenium.SeleniumConfiguration
public class ConfluenceSeleniumConfiguration
- extends Object
- implements com.atlassian.selenium.SeleniumConfiguration
A SeleniumConfiguration that is set up with system properties.
selenium.location - the location of the selenium server
selenium.port - the port of the selenium server
selenium.browser - the browser to use
baseurl - the base url of Confluence
selenium.max.wait.time - the maximum wait time in milliseconds for page loads and action waits
If no system properties are provided, it defaults to some default properties.
- See Also:
DEFAULT_SELENIUM_LOCATION,
DEFAULT_SELENIUM_PORT,
DEFAULT_SELENIUM_BROWSER,
DEFAULT_BASEURL,
DEFAULT_MAX_PAGE_WAIT_TIME
| 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 |
getPerformanceReportLocation, getShowAutoGeneratedPerformanceEvents |
DEFAULT_SELENIUM_LOCATION
public static final String DEFAULT_SELENIUM_LOCATION
- See Also:
- Constant Field Values
DEFAULT_SELENIUM_PORT
public static final int DEFAULT_SELENIUM_PORT
- See Also:
- Constant Field Values
DEFAULT_SELENIUM_BROWSER
public static final String DEFAULT_SELENIUM_BROWSER
- See Also:
- Constant Field Values
DEFAULT_BASEURL
public static final String DEFAULT_BASEURL
- See Also:
- Constant Field Values
DEFAULT_JIRA_BASEURL
public static final String DEFAULT_JIRA_BASEURL
- See Also:
- Constant Field Values
DEFAULT_MAX_PAGE_WAIT_TIME
public static final int DEFAULT_MAX_PAGE_WAIT_TIME
- See Also:
- Constant Field Values
DEFAULT_MAX_ACTION_WAIT_TIME
public static final int DEFAULT_MAX_ACTION_WAIT_TIME
- See Also:
- Constant Field Values
DEFAULT_CLEAR_WINDOW_WAIT_TIME
public static final int DEFAULT_CLEAR_WINDOW_WAIT_TIME
- See Also:
- Constant Field Values
DEFAULT_RESTART_SELENIUM_FREQUENCY
public static final int DEFAULT_RESTART_SELENIUM_FREQUENCY
- See Also:
- Constant Field Values
DEFAULT_FIREFOX_PROFILE_PATH
public static final String DEFAULT_FIREFOX_PROFILE_PATH
- See Also:
- Constant Field Values
getInstance
public static ConfluenceSeleniumConfiguration getInstance()
getServerLocation
public String getServerLocation()
- Specified by:
getServerLocation in interface com.atlassian.selenium.SeleniumConfiguration
getServerPort
public int getServerPort()
- Specified by:
getServerPort in interface com.atlassian.selenium.SeleniumConfiguration
getBrowserStartString
public String getBrowserStartString()
- Specified by:
getBrowserStartString in interface com.atlassian.selenium.SeleniumConfiguration
getFirefoxProfileTemplate
public String getFirefoxProfileTemplate()
- Specified by:
getFirefoxProfileTemplate in interface com.atlassian.selenium.SeleniumConfiguration
getBaseUrl
public String getBaseUrl()
- Specified by:
getBaseUrl in interface com.atlassian.selenium.SeleniumConfiguration
getJiraBaseUrl
public String getJiraBaseUrl()
getStartSeleniumServer
public boolean getStartSeleniumServer()
- Specified by:
getStartSeleniumServer in interface com.atlassian.selenium.SeleniumConfiguration
getActionWait
public long getActionWait()
- Specified by:
getActionWait in interface com.atlassian.selenium.SeleniumConfiguration
getPageLoadWait
public long getPageLoadWait()
- Specified by:
getPageLoadWait in interface com.atlassian.selenium.SeleniumConfiguration
getClearWindowWait
public long getClearWindowWait()
getRestartSeleniumFrequency
public long getRestartSeleniumFrequency()
getConditionCheckInterval
public long getConditionCheckInterval()
- Specified by:
getConditionCheckInterval in interface com.atlassian.selenium.SeleniumConfiguration
getSingleWindowMode
public boolean getSingleWindowMode()
- Specified by:
getSingleWindowMode in interface com.atlassian.selenium.SeleniumConfiguration
isIE6Mode
public boolean isIE6Mode()
Copyright © 2003-2013 Atlassian. All Rights Reserved.