findElements method Null safety
- By by
override
Search for multiple elements within the entire current page.
Implementation
@override
Stream<WebElement> findElements(By by) async* {
final ids = await _client.send(
_handler.elementFinder.buildFindElementsRequest(by),
_handler.elementFinder.parseFindElementsResponse);
var i = 0;
for (var id in ids) {
yield getElement(id, this, by, i);
i++;
}
}