Interface SupportsFlutterElementWaitTimeoutOption<T extends BaseOptions<T>>

    • 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.