code: public RemoteWebElement getElement() {
          RemoteWebElement foundElement = null;
          try {
              if (parent == null) {
                  foundElement = HtmlElementUtils.locateElement(getLocator());
              } else {
                  foundElement = parent.locateChildElement(locator);
              }
          } catch (ParentNotFoundException p) {
              throw p;
          } catch (NoSuchElementException n) {
  
              addInfoForNoSuchElementException(n);
          }
          return foundElement;
      }
docs: Instance method used to call static class method locateElement.
  
  @return the web element found by locator