findElement method

Find an element nested within this element.

Throws NoSuchElementException if matching element is not found.

Implementation

@override
Future<AppiumWebElement> findElement(AppiumBy by) => _client.send(
    _handler.elementFinder.buildFindElementRequest(by, id),
    (response) => driver.getElement(
        _handler.elementFinder.parseFindElementResponse(response), this, by));