selectFirstWhere<O extends Element> method

Future<UITestChainNode<U, O?, T>> selectFirstWhere<O extends Element>(
  1. String? selectors,
  2. bool test(
    1. Element element
    ), {
  3. bool expected = false,
})

Implementation

Future<UITestChainNode<U, O?, T>> selectFirstWhere<O extends Element>(
        String? selectors, bool Function(Element element) test,
        {bool expected = false}) =>
    thenChain((o) => o.selectFirstWhere<O>(selectors, test,
        expected: expected) as UITestChainNode<U, O?, T>);