Interface SupportsWdaLaunchTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsWdaLaunchTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
WDA_LAUNCH_TIMEOUT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getWdaLaunchTimeout()
Get the maximum timeout to wait until WDA is listening.default T
setWdaLaunchTimeout(java.time.Duration timeout)
Timeout to wait for WebDriverAgent to be pingable, e.g.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
WDA_LAUNCH_TIMEOUT_OPTION
static final java.lang.String WDA_LAUNCH_TIMEOUT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setWdaLaunchTimeout
default T setWdaLaunchTimeout(java.time.Duration timeout)
Timeout to wait for WebDriverAgent to be pingable, e.g. finishes building. Defaults to 60000ms.- Parameters:
timeout
- Timeout to wait until WDA is listening.- Returns:
- self instance for chaining.
-
getWdaLaunchTimeout
default java.util.Optional<java.time.Duration> getWdaLaunchTimeout()
Get the maximum timeout to wait until WDA is listening.- Returns:
- Timeout value.
-
-