expectElement method
Implementation
Future<T> expectElement(String selectors,
{Object? root,
String? reason,
List<Element> Function(List<Element> elems)? mapper,
bool Function(List<Element> elems)? validator}) =>
thenChain((o) => o.expectElement(selectors,
root: root, reason: reason, mapper: mapper, validator: validator));