Interface SupportsAutoWebviewTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsAutoWebviewTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AUTO_WEBVIEW_TIMEOUT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getAutoWebviewTimeout()
Get the timeout to wait until a web view is available.default T
setAutoWebviewTimeout(java.time.Duration timeout)
Set the maximum timeout to wait until a web view is available if autoWebview capability is set to true.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
AUTO_WEBVIEW_TIMEOUT_OPTION
static final java.lang.String AUTO_WEBVIEW_TIMEOUT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAutoWebviewTimeout
default T setAutoWebviewTimeout(java.time.Duration timeout)
Set the maximum timeout to wait until a web view is available if autoWebview capability is set to true. 2000 ms by default.- Parameters:
timeout
- Timeout value.- Returns:
- self instance for chaining.
-
getAutoWebviewTimeout
default java.util.Optional<java.time.Duration> getAutoWebviewTimeout()
Get the timeout to wait until a web view is available.- Returns:
- The timeout value.
-
-