getElementsByCss method

  1. @override
List<WebDriverPageLoaderElement> getElementsByCss(
  1. String selector
)
override

Returns the elements within this element that match the given CSS selector.

Implementation

@override
List<WebDriverPageLoaderElement> getElementsByCss(String selector) =>
    _retryWhenStale(() => _single
        .findElements(sync_wd.By.cssSelector(selector))
        .map((elem) => WebDriverPageLoaderElement.createFromElement(elem))
        .map((elem) => elem..addListeners(listeners))
        .toList());