Interface SupportsWdaStartupRetriesOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsWdaStartupRetriesOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
WDA_STARTUP_RETRIES_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Integer>
getWdaStartupRetries()
Get number of retries before to fail WDA deployment.default T
setWdaStartupRetries(int count)
Number of times to try to build and launch WebDriverAgent onto the device.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
WDA_STARTUP_RETRIES_OPTION
static final java.lang.String WDA_STARTUP_RETRIES_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setWdaStartupRetries
default T setWdaStartupRetries(int count)
Number of times to try to build and launch WebDriverAgent onto the device. Defaults to 2.- Parameters:
count
- Retries count.- Returns:
- self instance for chaining.
-
getWdaStartupRetries
default java.util.Optional<java.lang.Integer> getWdaStartupRetries()
Get number of retries before to fail WDA deployment.- Returns:
- Retries count.
-
-