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