public class Configuration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Configuration.AssertionMode |
static class |
Configuration.SelectorMode |
Modifier and Type | Field and Description |
---|---|
static Configuration.AssertionMode |
assertionMode |
static java.lang.String |
baseUrl |
static java.lang.String |
browser
Which browser to use.
|
static boolean |
clickViaJs
ATTENTION! Automatic WebDriver waiting after click isn't working in case of using this feature.
|
static long |
closeBrowserTimeoutMs
Timeout (in milliseconds) for closing/killing browser.
|
static boolean |
dismissModalDialogs
Mock "alert" and "confirm" javascript dialogs.
|
static boolean |
fastSetValue
If set to true, sets value by javascript instead of using Selenium built-in "sendKey" function
(that is quite slow because it sends every character separately).
|
static boolean |
holdBrowserOpen
If holdBrowserOpen is true, browser window stays open after running tests.
|
static long |
openBrowserTimeoutMs
Timeout (in milliseconds) for opening (creating) a browser (webdriver).
|
static long |
pollingInterval |
static java.lang.String |
remote
URL of remote web driver (in case of using Selenium Grid).
|
static java.lang.String |
reportsFolder
Folder to store screenshots to.
|
static java.lang.String |
reportsUrl
Optional: URL of CI server where reports are published to.
|
static boolean |
screenshots
Does Selenide need to take screenshots on failing tests.
|
static Configuration.SelectorMode |
selectorMode
EXPERIMENTAL
Choose how Selenide should retrieve web elements: using default CSS or Sizzle (CSS3)
|
static boolean |
startMaximized
The browser window is maximized when started.
|
static long |
timeout |
Constructor and Description |
---|
Configuration() |
public static java.lang.String baseUrl
public static long timeout
public static long pollingInterval
public static boolean holdBrowserOpen
public static long openBrowserTimeoutMs
public static long closeBrowserTimeoutMs
public static java.lang.String browser
public static java.lang.String remote
public static boolean startMaximized
public static boolean clickViaJs
public static boolean screenshots
public static java.lang.String reportsFolder
public static java.lang.String reportsUrl
public static boolean dismissModalDialogs
public static boolean fastSetValue
public static Configuration.SelectorMode selectorMode
public static Configuration.AssertionMode assertionMode