Interface SupportsWdaEventloopIdleDelayOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsWdaEventloopIdleDelayOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the event loop idle delay.default TsetWdaEventloopIdleDelay(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
WDA_EVENTLOOP_IDLE_DELAY_OPTION
- See Also:
-
-
Method Details
-
setWdaEventloopIdleDelay
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
Get the event loop idle delay.- Returns:
- Idle duration.
-