public interface SupportsRecreateChromeDriverSessionsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RECREATE_CHROME_DRIVER_SESSIONS |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<java.lang.Boolean> |
doesRecreateChromeDriverSessions()
Get whether chromedriver sessions should be killed and then recreated instead
of just suspending it on context switch.
|
default T |
recreateChromeDriverSessions()
Enforce chromedriver sessions to be killed and then recreated instead
of just suspending it on context switch.
|
default T |
setRecreateChromeDriverSessions(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.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String RECREATE_CHROME_DRIVER_SESSIONS
default T recreateChromeDriverSessions()
default T setRecreateChromeDriverSessions(boolean value)
value
- Whether to recreate chromedriver sessions.default java.util.Optional<java.lang.Boolean> doesRecreateChromeDriverSessions()