selectFirstWhereUntil method

Future<UITestChainNode<U, Element, T>> selectFirstWhereUntil(
  1. String? selectors,
  2. bool test(
    1. Element element
    ), {
  3. int? timeoutMs,
  4. int? intervalMs,
  5. int? minMs,
  6. Iterable<Element> mapper(
    1. List<Element> elems
    )?,
})

Implementation

Future<UITestChainNode<U, Element, T>> selectFirstWhereUntil(
  String? selectors,
  bool Function(Element element) test, {
  int? timeoutMs,
  int? intervalMs,
  int? minMs,
  Iterable<Element> Function(List<Element> elems)? mapper,
}) => thenChain(
  (o) => o
      .selectFirstWhereUntil(
        selectors,
        test,
        timeoutMs: timeoutMs,
        intervalMs: intervalMs,
        minMs: minMs,
        mapper: mapper,
      )
      .then((o) => o as UITestChainNode<U, Element, T>),
);