Interface SupportsRecreateChromeDriverSessionsOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsRecreateChromeDriverSessionsOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether chromedriver sessions should be killed and then recreated instead of just suspending it on context switch.default TEnforce chromedriver sessions to be killed and then recreated instead of just suspending it on context switch.default TsetRecreateChromeDriverSessions(boolean value) If this capability is set to true then chromedriver session is always going to be killed and then recreated instead of just suspending it on context switching.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
RECREATE_CHROME_DRIVER_SESSIONS
- See Also:
-
-
Method Details
-
recreateChromeDriverSessions
Enforce chromedriver sessions to be killed and then recreated instead of just suspending it on context switch.- Returns:
- self instance for chaining.
-
setRecreateChromeDriverSessions
If this capability is set to true then chromedriver session is always going to be killed and then recreated instead of just suspending it on context switching. false by default.- Parameters:
value- Whether to recreate chromedriver sessions.- Returns:
- self instance for chaining.
-
doesRecreateChromeDriverSessions
Get whether chromedriver sessions should be killed and then recreated instead of just suspending it on context switch.- Returns:
- True or false.
-