Interface SupportsWaitForIdleTimeoutOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsWaitForIdleTimeoutOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the maximum timeout to wait until WDA responds to HTTP requests.default TsetWaitForIdleTimeout(Duration timeout) The time to wait until the application under test is idling.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
-
WAIT_FOR_IDLE_TIMEOUT_OPTION
- See Also:
-
-
Method Details
-
setWaitForIdleTimeout
The time to wait until the application under test is idling. XCTest requires the app's main thread to be idling in order to execute any action on it, so WDA might not even start/freeze if the app under test is constantly hogging the main thread. The default value is 10 (seconds). Setting it to zero disables idling checks completely (not recommended) and has the same effect as setting waitForQuiescence to false. Available since Appium 1.20.0.- Parameters:
timeout- Idle timeout.- Returns:
- self instance for chaining.
-
getWaitForIdleTimeout
Get the maximum timeout to wait until WDA responds to HTTP requests.- Returns:
- Timeout value.
-