Interface SupportsUiautomator2ServerReadTimeoutOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
UiAutomator2Options
public interface SupportsUiautomator2ServerReadTimeoutOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the maximum timeout to wait for a HTTP response from UiAutomator2Server.default TsetUiautomator2ServerReadTimeout(Duration timeout) Set the maximum timeout to wait for a HTTP response from UiAutomator2Server.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
UIAUTOMATOR2_SERVER_READ_TIMEOUT_OPTION
- See Also:
-
-
Method Details
-
setUiautomator2ServerReadTimeout
Set the maximum timeout to wait for a HTTP response from UiAutomator2Server. Only values greater than zero are accepted. If the given value is too low then expect driver commands to fail with timeout of Xms exceeded error. 240000 ms by default- Parameters:
timeout- Timeout value.- Returns:
- self instance for chaining.
-
getUiautomator2ServerReadTimeout
Get the maximum timeout to wait for a HTTP response from UiAutomator2Server.- Returns:
- The timeout value.
-