com.atlassian.confluence.selenium.client
Class ConfluenceSeleniumConfiguration

java.lang.Object
  extended by com.atlassian.confluence.selenium.client.ConfluenceSeleniumConfiguration
All Implemented Interfaces:
com.atlassian.selenium.SeleniumConfiguration

public class ConfluenceSeleniumConfiguration
extends java.lang.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.


    Field Summary
    static java.lang.String DEFAULT_BASEURL
               
    static int DEFAULT_MAX_ACTION_WAIT_TIME
               
    static int DEFAULT_MAX_PAGE_WAIT_TIME
               
    static java.lang.String DEFAULT_SELENIUM_BROWSER
               
    static java.lang.String DEFAULT_SELENIUM_LOCATION
               
    static int DEFAULT_SELENIUM_PORT
               
     
    Method Summary
     long getActionWait()
               
     java.lang.String getBaseUrl()
               
     java.lang.String getBrowserStartString()
               
     long getConditionCheckInterval()
               
    static ConfluenceSeleniumConfiguration getInstance()
               
     long getPageLoadWait()
               
     java.lang.String getServerLocation()
               
     int getServerPort()
               
     boolean getStartSeleniumServer()
               
     boolean isIE6Mode()
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    DEFAULT_SELENIUM_LOCATION

    public static final java.lang.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 java.lang.String DEFAULT_SELENIUM_BROWSER
    See Also:
    Constant Field Values

    DEFAULT_BASEURL

    public static final java.lang.String DEFAULT_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
    Method Detail

    getInstance

    public static ConfluenceSeleniumConfiguration getInstance()

    getServerLocation

    public java.lang.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 java.lang.String getBrowserStartString()
    Specified by:
    getBrowserStartString in interface com.atlassian.selenium.SeleniumConfiguration

    getBaseUrl

    public java.lang.String getBaseUrl()
    Specified by:
    getBaseUrl in interface com.atlassian.selenium.SeleniumConfiguration

    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

    getConditionCheckInterval

    public long getConditionCheckInterval()
    Specified by:
    getConditionCheckInterval in interface com.atlassian.selenium.SeleniumConfiguration

    isIE6Mode

    public boolean isIE6Mode()


    Copyright © 2003-2010 Atlassian. All Rights Reserved.