selectUntil method
Alias to sleepUntilElement + querySelectorAll
Implementation
Future<UITestChainNode<U, Element, T>> selectUntil(
String? selectors, {
int? timeoutMs,
int? intervalMs,
int? minMs,
Iterable<Element> Function(List<Element> elems)? mapper,
}) =>
sleepUntilElement(
selectors ?? '*',
timeoutMs: timeoutMs,
intervalMs: intervalMs,
minMs: minMs,
mapper: mapper,
).selectExpected(selectors).then((o) {
var elem = o.element;
return UITestChainNode<U, Element, T>(
o.testChainRoot as UITestChainRoot<U>,
elem,
this as T,
);
});