Interface SupportsServerStartupTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
Mac2Options
public interface SupportsServerStartupTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVER_STARTUP_TIMEOUT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getServerStartupTimeout()
Get the timeout to wait util the WebDriverAgentMac project is built and started.default T
setServerStartupTimeout(java.time.Duration timeout)
The timeout to wait util the WebDriverAgentMac project is built and started.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SERVER_STARTUP_TIMEOUT_OPTION
static final java.lang.String SERVER_STARTUP_TIMEOUT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setServerStartupTimeout
default T setServerStartupTimeout(java.time.Duration timeout)
The timeout to wait util the WebDriverAgentMac project is built and started. 120000ms by default- Parameters:
timeout
- The timeout value.- Returns:
- self instance for chaining.
-
getServerStartupTimeout
default java.util.Optional<java.time.Duration> getServerStartupTimeout()
Get the timeout to wait util the WebDriverAgentMac project is built and started.- Returns:
- The timeout value.
-
-