Interface SupportsFlutterServerLaunchTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
FlutterDriverOptions
public interface SupportsFlutterServerLaunchTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FLUTTER_SERVER_LAUNCH_TIMEOUT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getFlutterServerLaunchTimeout()
Get the maximum timeout to wait until FlutterServer is listening.default T
setFlutterServerLaunchTimeout(java.time.Duration timeout)
Timeout to wait for FlutterServer to be pingable, e.g.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
FLUTTER_SERVER_LAUNCH_TIMEOUT_OPTION
static final java.lang.String FLUTTER_SERVER_LAUNCH_TIMEOUT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setFlutterServerLaunchTimeout
default T setFlutterServerLaunchTimeout(java.time.Duration timeout)
Timeout to wait for FlutterServer to be pingable, e.g. finishes building. Defaults to 60000ms.- Parameters:
timeout
- Timeout to wait until FlutterServer is listening.- Returns:
- self instance for chaining.
-
getFlutterServerLaunchTimeout
default java.util.Optional<java.time.Duration> getFlutterServerLaunchTimeout()
Get the maximum timeout to wait until FlutterServer is listening.- Returns:
- Timeout value.
-
-