Package com.codeborne.selenide
Class SelenideConfig
java.lang.Object
com.codeborne.selenide.SelenideConfig
- All Implemented Interfaces:
Config
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassertionMode
(AssertionMode assertionMode) baseUrl()
browser()
browserBinary
(String browserBinary) org.openqa.selenium.MutableCapabilities
browserCapabilities
(org.openqa.selenium.MutableCapabilities browserCapabilities) browserPosition
(String browserPosition) browserSize
(String browserSize) browserVersion
(String browserVersion) boolean
clickViaJs
(boolean clickViaJs) downloadsFolder
(String downloadsFolder) boolean
fastSetValue
(boolean fastSetValue) fileDownload
(FileDownloadMode fileDownload) boolean
headless()
headless
(boolean headless) boolean
Deprecated.holdBrowserOpen
(boolean holdBrowserOpen) Deprecated.pageLoadStrategy
(String pageLoadStrategy) long
pageLoadTimeout
(long pageLoadTimeout) long
pollingInterval
(long pollingInterval) boolean
proxyEnabled
(boolean proxyEnabled) int
proxyPort
(int proxyPort) remote()
long
remoteConnectionTimeout
(long remoteConnectionTimeout) long
remoteReadTimeout
(long remoteReadTimeout) boolean
reopenBrowserOnFail
(boolean reopenBrowserOnFail) reportsFolder
(String reportsFolder) reportsUrl
(String reportsUrl) boolean
savePageSource
(boolean savePageSource) boolean
screenshots
(boolean screenshots) selectorMode
(SelectorMode selectorMode) long
timeout()
timeout
(long timeout) toString()
boolean
webdriverLogsEnabled
(boolean webdriverLogsEnabled)
-
Constructor Details
-
SelenideConfig
public SelenideConfig()
-
-
Method Details
-
baseUrl
-
baseUrl
-
timeout
public long timeout() -
timeout
-
pollingInterval
public long pollingInterval()- Specified by:
pollingInterval
in interfaceConfig
-
pollingInterval
-
holdBrowserOpen
Deprecated.- Specified by:
holdBrowserOpen
in interfaceConfig
-
holdBrowserOpen
Deprecated. -
reopenBrowserOnFail
public boolean reopenBrowserOnFail()- Specified by:
reopenBrowserOnFail
in interfaceConfig
-
reopenBrowserOnFail
-
clickViaJs
public boolean clickViaJs()- Specified by:
clickViaJs
in interfaceConfig
-
clickViaJs
-
screenshots
public boolean screenshots()- Specified by:
screenshots
in interfaceConfig
-
screenshots
-
savePageSource
public boolean savePageSource()- Specified by:
savePageSource
in interfaceConfig
-
savePageSource
-
reportsFolder
- Specified by:
reportsFolder
in interfaceConfig
-
reportsFolder
-
downloadsFolder
- Specified by:
downloadsFolder
in interfaceConfig
-
downloadsFolder
-
reportsUrl
- Specified by:
reportsUrl
in interfaceConfig
-
reportsUrl
-
fastSetValue
public boolean fastSetValue()- Specified by:
fastSetValue
in interfaceConfig
-
textCheck
-
fastSetValue
-
textCheck
-
selectorMode
- Specified by:
selectorMode
in interfaceConfig
-
selectorMode
-
assertionMode
- Specified by:
assertionMode
in interfaceConfig
-
assertionMode
-
fileDownload
- Specified by:
fileDownload
in interfaceConfig
-
fileDownload
-
proxyEnabled
public boolean proxyEnabled()- Specified by:
proxyEnabled
in interfaceConfig
-
proxyEnabled
-
proxyHost
-
proxyHost
-
proxyPort
public int proxyPort() -
proxyPort
-
browser
-
browser
-
headless
public boolean headless() -
headless
-
remote
-
remote
-
browserSize
- Specified by:
browserSize
in interfaceConfig
-
browserSize
-
browserVersion
- Specified by:
browserVersion
in interfaceConfig
-
browserVersion
-
browserPosition
- Specified by:
browserPosition
in interfaceConfig
-
browserPosition
-
webdriverLogsEnabled
public boolean webdriverLogsEnabled()- Specified by:
webdriverLogsEnabled
in interfaceConfig
-
webdriverLogsEnabled
-
browserBinary
- Specified by:
browserBinary
in interfaceConfig
-
browserBinary
-
pageLoadStrategy
- Specified by:
pageLoadStrategy
in interfaceConfig
-
pageLoadTimeout
public long pageLoadTimeout()- Specified by:
pageLoadTimeout
in interfaceConfig
-
pageLoadStrategy
-
pageLoadTimeout
-
browserCapabilities
public org.openqa.selenium.MutableCapabilities browserCapabilities()- Specified by:
browserCapabilities
in interfaceConfig
-
browserCapabilities
public SelenideConfig browserCapabilities(org.openqa.selenium.MutableCapabilities browserCapabilities) -
remoteReadTimeout
public long remoteReadTimeout()- Specified by:
remoteReadTimeout
in interfaceConfig
-
remoteReadTimeout
-
remoteConnectionTimeout
public long remoteConnectionTimeout()- Specified by:
remoteConnectionTimeout
in interfaceConfig
-
remoteConnectionTimeout
-
toString
-