findElement method

Search for an element within the entire current page. Throws NoSuchElementException if a matching element is not found.

Implementation

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