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