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