selectExpected method
Implementation
Element selectExpected(String? selectors) {
var self = this;
var e = selectors != null && selectors.isNotEmpty
? self?.querySelector(selectors)
: null;
if (e == null) {
throw TestFailure("Can't find element: `$selectors`");
}
return e;
}