findElement method Null safety
- By by
override
Find an element nested within this element.
Throws NoSuchElementException if matching element is not found.
Implementation
@override
Future<WebElement> findElement(By by) => _client.send(
_handler.elementFinder.buildFindElementRequest(by, id),
(response) => driver.getElement(
_handler.elementFinder.parseFindElementResponse(response), this, by));