public class

ConfluenceSeleniumConfiguration

extends Object
implements SeleniumConfiguration
java.lang.Object
   ↳ com.atlassian.confluence.selenium.client.ConfluenceSeleniumConfiguration

Class Overview

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.

    Summary

    Constants
    String DEFAULT_BASEURL
    int DEFAULT_CLEAR_WINDOW_WAIT_TIME
    String DEFAULT_FIREFOX_PROFILE_PATH
    int DEFAULT_MAX_ACTION_WAIT_TIME
    int DEFAULT_MAX_PAGE_WAIT_TIME
    int DEFAULT_RESTART_SELENIUM_FREQUENCY
    String DEFAULT_SELENIUM_BROWSER
    String DEFAULT_SELENIUM_LOCATION
    int DEFAULT_SELENIUM_PORT
    Public Methods
    long getActionWait()
    String getBaseUrl()
    String getBrowserStartString()
    long getClearWindowWait()
    long getConditionCheckInterval()
    String getFirefoxProfileTemplate()
    static ConfluenceSeleniumConfiguration getInstance()
    long getPageLoadWait()
    long getRestartSeleniumFrequency()
    String getServerLocation()
    int getServerPort()
    boolean getSingleWindowMode()
    boolean getStartSeleniumServer()
    boolean isIE6Mode()
    [Expand]
    Inherited Methods
    From class java.lang.Object
    From interface com.atlassian.selenium.SeleniumConfiguration

    Constants

    public static final String DEFAULT_BASEURL

    Constant Value: "http://localhost:8080/confluence"

    public static final int DEFAULT_CLEAR_WINDOW_WAIT_TIME

    Constant Value: 0 (0x00000000)

    public static final String DEFAULT_FIREFOX_PROFILE_PATH

    Constant Value: "."

    public static final int DEFAULT_MAX_ACTION_WAIT_TIME

    Constant Value: 5000 (0x00001388)

    public static final int DEFAULT_MAX_PAGE_WAIT_TIME

    Constant Value: 10000 (0x00002710)

    public static final int DEFAULT_RESTART_SELENIUM_FREQUENCY

    Constant Value: 0 (0x00000000)

    public static final String DEFAULT_SELENIUM_BROWSER

    Constant Value: "*firefoxproxy"

    public static final String DEFAULT_SELENIUM_LOCATION

    Constant Value: "localhost"

    public static final int DEFAULT_SELENIUM_PORT

    Constant Value: 4444 (0x0000115c)

    Public Methods

    public long getActionWait ()

    public String getBaseUrl ()

    public String getBrowserStartString ()

    public long getClearWindowWait ()

    public long getConditionCheckInterval ()

    public String getFirefoxProfileTemplate ()

    public static ConfluenceSeleniumConfiguration getInstance ()

    public long getPageLoadWait ()

    public long getRestartSeleniumFrequency ()

    public String getServerLocation ()

    public int getServerPort ()

    public boolean getSingleWindowMode ()

    public boolean getStartSeleniumServer ()

    public boolean isIE6Mode ()