Interface SupportsCreateSessionTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
WindowsOptions
public interface SupportsCreateSessionTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CREATE_SESSION_TIMEOUT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getCreateSessionTimeout()
Get the timeout used to retry Appium Windows Driver session startup.default T
setCreateSessionTimeout(java.time.Duration timeout)
Set the timeout used to retry Appium Windows Driver session startup.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
CREATE_SESSION_TIMEOUT_OPTION
static final java.lang.String CREATE_SESSION_TIMEOUT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setCreateSessionTimeout
default T setCreateSessionTimeout(java.time.Duration timeout)
Set the timeout used to retry Appium Windows Driver session startup. This capability could be used as a workaround for the long startup times of UWP applications (aka Failed to locate opened application window with appId: TestCompany.my_app4!App, and processId: 8480). Default value is 20000ms.- Parameters:
timeout
- The timeout value.- Returns:
- self instance for chaining.
-
getCreateSessionTimeout
default java.util.Optional<java.time.Duration> getCreateSessionTimeout()
Get the timeout used to retry Appium Windows Driver session startup.- Returns:
- The timeout value.
-
-