code: public List<WebElement> getElements() {
          List<WebElement> foundElements = null;
          try {
              if (parent == null) {
                  foundElements = HtmlElementUtils.locateElements(getLocator());
              } else {
                  foundElements = parent.locateChildElements(getLocator());
              }
          } catch (NoSuchElementException n) {
              addInfoForNoSuchElementException(n);
          }
  
          return foundElements;
      }
docs: Instance method used to call static class method locateElements.
  
  @return the list of web elements found by locator