selectExpected method

UITestChainNode<U, Element, T> selectExpected(
  1. String? selectors
)

Alias to select with expected: true.

Implementation

UITestChainNode<U, Element, T> selectExpected(String? selectors) {
  var o = select(selectors, expected: true);
  return UITestChainNode<U, Element, T>(
    o.testChainRoot,
    o.element!,
    o.parent,
  );
}