Interface SupportsFlutterElementWaitTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
FlutterDriverOptions
public interface SupportsFlutterElementWaitTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FLUTTER_ELEMENT_WAIT_TIMEOUT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.time.Duration>
getFlutterElementWaitTimeout()
Retrieves the current Flutter element wait timeout if set.default T
setFlutterElementWaitTimeout(java.time.Duration timeout)
Sets the Flutter element wait timeout.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
FLUTTER_ELEMENT_WAIT_TIMEOUT_OPTION
static final java.lang.String FLUTTER_ELEMENT_WAIT_TIMEOUT_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setFlutterElementWaitTimeout
default T setFlutterElementWaitTimeout(java.time.Duration timeout)
Sets the Flutter element wait timeout. Defaults to 5 seconds.- Parameters:
timeout
- The duration to wait for Flutter elements during findElement method- Returns:
- self instance for chaining.
-
getFlutterElementWaitTimeout
default java.util.Optional<java.time.Duration> getFlutterElementWaitTimeout()
Retrieves the current Flutter element wait timeout if set.- Returns:
- An
Optional
containing the duration of the Flutter element wait timeout, or empty if not set.
-
-