Interface SupportsWebkitResponseTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsWebkitResponseTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
WEBKIT_RESPONSE_TIMEOUT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getWebkitResponseTimeout()
Get the time to wait for a response from WebKit in a Safari session.default T
setWebkitResponseTimeout(java.time.Duration timeout)
(Real device only) Set the time to wait for a response from WebKit in a Safari session.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
WEBKIT_RESPONSE_TIMEOUT_OPTION
static final java.lang.String WEBKIT_RESPONSE_TIMEOUT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setWebkitResponseTimeout
default T setWebkitResponseTimeout(java.time.Duration timeout)
(Real device only) Set the time to wait for a response from WebKit in a Safari session. Defaults to 5000ms.- Parameters:
timeout
- Response timeout.- Returns:
- self instance for chaining.
-
getWebkitResponseTimeout
default java.util.Optional<java.time.Duration> getWebkitResponseTimeout()
Get the time to wait for a response from WebKit in a Safari session.- Returns:
- Timeout value.
-
-