Interface SupportsCreateSessionTimeoutOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
WindowsOptions
public interface SupportsCreateSessionTimeoutOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the timeout used to retry Appium Windows Driver session startup.default TsetCreateSessionTimeout(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
CREATE_SESSION_TIMEOUT_OPTION
- See Also:
-
-
Method Details
-
setCreateSessionTimeout
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
Get the timeout used to retry Appium Windows Driver session startup.- Returns:
- The timeout value.
-