Interface SupportsWebviewConnectTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsWebviewConnectTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
WEBVIEW_CONNECT_TIMEOUT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getWebviewConnectTimeout()
Get the timeout to wait for the initial presence of webviews.default T
setWebviewConnectTimeout(java.time.Duration timeout)
The time to wait for the initial presence of webviews in MobileSafari or hybrid apps.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
WEBVIEW_CONNECT_TIMEOUT_OPTION
static final java.lang.String WEBVIEW_CONNECT_TIMEOUT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setWebviewConnectTimeout
default T setWebviewConnectTimeout(java.time.Duration timeout)
The time to wait for the initial presence of webviews in MobileSafari or hybrid apps. Defaults to 0ms.- Parameters:
timeout
- Timeout to wait for the initial presence of webviews.- Returns:
- self instance for chaining.
-
getWebviewConnectTimeout
default java.util.Optional<java.time.Duration> getWebviewConnectTimeout()
Get the timeout to wait for the initial presence of webviews.- Returns:
- Timeout value.
-
-