public interface SupportsUiautomator2ServerLaunchTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UIAUTOMATOR2_SERVER_LAUNCH_TIMEOUT_OPTION |
Modifier and Type | Method and 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.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String UIAUTOMATOR2_SERVER_LAUNCH_TIMEOUT_OPTION
default T setUiautomator2ServerLaunchTimeout(java.time.Duration timeout)
timeout
- Timeout value.default java.util.Optional<java.time.Duration> getUiautomator2ServerLaunchTimeout()