sleepUntilElement method

Future<T> sleepUntilElement(
  1. String selectors, {
  2. Element? root,
  3. int? timeoutMs,
  4. int? intervalMs,
  5. int? minMs,
  6. Iterable<Element> mapper(
    1. List<Element> elems
    )?,
  7. bool validator(
    1. List<Element> elems
    )?,
  8. bool expected = false,
})

Implementation

Future<T> sleepUntilElement(String selectors,
        {Element? root,
        int? timeoutMs,
        int? intervalMs,
        int? minMs,
        Iterable<Element> Function(List<Element> elems)? mapper,
        bool Function(List<Element> elems)? validator,
        bool expected = false}) =>
    thenChain((o) => o.sleepUntilElement(selectors,
        root: root,
        timeoutMs: timeoutMs,
        intervalMs: intervalMs,
        mapper: mapper,
        validator: validator,
        minMs: minMs,
        expected: expected));