Interface SupportsMsWaitForAppLaunchOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
WindowsOptions
public interface SupportsMsWaitForAppLaunchOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MS_WAIT_FOR_APP_LAUNCH_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
doesWaitForAppLaunch()
Get the timeout used to retry Appium Windows Driver session startup.default T
setWaitForAppLaunch(java.time.Duration timeout)
Similar to createSessionTimeout, but is applied on the server side.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
MS_WAIT_FOR_APP_LAUNCH_OPTION
static final java.lang.String MS_WAIT_FOR_APP_LAUNCH_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setWaitForAppLaunch
default T setWaitForAppLaunch(java.time.Duration timeout)
Similar to createSessionTimeout, but is applied on the server side. Enables Appium Windows Driver to wait for a defined amount of time after an app launch is initiated prior to attaching to the application session. The limit for this is 50 seconds.- Parameters:
timeout
- The timeout value.- Returns:
- self instance for chaining.
-
doesWaitForAppLaunch
default java.util.Optional<java.time.Duration> doesWaitForAppLaunch()
Get the timeout used to retry Appium Windows Driver session startup.- Returns:
- The timeout value.
-
-