Interface SupportsUiautomator2ServerLaunchTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
UiAutomator2Options
public interface SupportsUiautomator2ServerLaunchTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UIAUTOMATOR2_SERVER_LAUNCH_TIMEOUT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getUiautomator2ServerLaunchTimeout()
Get the maximum timeout to wait until UiAutomator2Server is listening on the device.default T
setUiautomator2ServerLaunchTimeout(java.time.Duration timeout)
Set the maximum timeout to wait util UiAutomator2Server is listening on the device.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
UIAUTOMATOR2_SERVER_LAUNCH_TIMEOUT_OPTION
static final java.lang.String UIAUTOMATOR2_SERVER_LAUNCH_TIMEOUT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUiautomator2ServerLaunchTimeout
default T setUiautomator2ServerLaunchTimeout(java.time.Duration timeout)
Set the maximum timeout to wait util UiAutomator2Server is listening on the device. 30000 ms by default- Parameters:
timeout
- Timeout value.- Returns:
- self instance for chaining.
-
getUiautomator2ServerLaunchTimeout
default java.util.Optional<java.time.Duration> getUiautomator2ServerLaunchTimeout()
Get the maximum timeout to wait until UiAutomator2Server is listening on the device.- Returns:
- The timeout value.
-
-