Interface SupportsWdaEventloopIdleDelayOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsWdaEventloopIdleDelayOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
WDA_EVENTLOOP_IDLE_DELAY_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getWdaEventloopIdleDelay()
Get the event loop idle delay.default T
setWdaEventloopIdleDelay(java.time.Duration duration)
Delays the invocation of -[XCUIApplicationProcess setEventLoopHasIdled:] by the duration specified with this capability.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
WDA_EVENTLOOP_IDLE_DELAY_OPTION
static final java.lang.String WDA_EVENTLOOP_IDLE_DELAY_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setWdaEventloopIdleDelay
default T setWdaEventloopIdleDelay(java.time.Duration duration)
Delays the invocation of -[XCUIApplicationProcess setEventLoopHasIdled:] by the duration specified with this capability. This can help quiescence apps that fail to do so for no obvious reason (and creating a session fails for that reason). This increases the time for session creation because -[XCUIApplicationProcess setEventLoopHasIdled:] is called multiple times. If you enable this capability start with at least 3 seconds and try increasing it, if creating the session still fails. Defaults to 0.- Parameters:
duration
- Idle duration.- Returns:
- self instance for chaining.
-
getWdaEventloopIdleDelay
default java.util.Optional<java.time.Duration> getWdaEventloopIdleDelay()
Get the event loop idle delay.- Returns:
- Idle duration.
-
-