Interface SupportsNewCommandTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
BaseOptions
,EspressoOptions
,GeckoOptions
,Mac2Options
,SafariOptions
,UiAutomator2Options
,WindowsOptions
,XCUITestOptions
public interface SupportsNewCommandTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NEW_COMMAND_TIMEOUT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getNewCommandTimeout()
Get the timeout for new commands.default T
setNewCommandTimeout(java.time.Duration duration)
Set the timeout for new commands.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
NEW_COMMAND_TIMEOUT_OPTION
static final java.lang.String NEW_COMMAND_TIMEOUT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setNewCommandTimeout
default T setNewCommandTimeout(java.time.Duration duration)
Set the timeout for new commands.- Parameters:
duration
- is the allowed time before seeing a new command.- Returns:
- self instance for chaining.
-
getNewCommandTimeout
default java.util.Optional<java.time.Duration> getNewCommandTimeout()
Get the timeout for new commands.- Returns:
- allowed time before seeing a new command.
-
-