1 package com.atlassian.selenium;
2
3 /**
4 * A class that should be implemented by all users of the Atlassian-Selenium library.
5 * Implementations
6 *
7 * @since v3.12
8 */
9 public interface SeleniumConfiguration
10 {
11 /**
12 * The address of the node hosting the selenium
13 * server.
14 */
15 String getServerLocation();
16
17 /**
18 * The port the selenium server is listening on
19 */
20 int getServerPort();
21
22 /**
23 * The browser start string to be passed to Selenium
24 */
25 String getBrowserStartString();
26
27 /**
28 * The starting url for the browser
29 */
30 String getBaseUrl();
31
32 /**
33 * Whether the framework should start the selenium server
34 */
35 boolean getStartSeleniumServer();
36
37 /**
38 * The time that various utility classes will wait after performing some Selenium
39 * action like the mouseOver method in the {@link SeleniumClient}.
40 */
41 long getActionWait();
42
43 /**
44 * The maximum time various utility clasess will wait for a page to load.
45 * Ideally this value should be used where ever a test waits for a page to load.
46 */
47 long getPageLoadWait();
48
49 /**
50 * The time in milliseconds between condition checks.
51 * @see {@link SeleniumAssertions#byTimeout(Condition)}
52 */
53 long getConditionCheckInterval();
54 }