code: public By getElementLocatorForElementReference(String elementReference) {
      	Map<String, By> objectReferenceMap = getObjectReferenceMap(By.class);
      	
          By elementLocator = objectReferenceMap.get(elementReference);
          if (elementLocator == null) {
              fail("No elementLocator is found for element name: '" + elementReference + "'. Available element references are: " + objectReferenceMap.keySet().toString());
          }
          return elementLocator;
      }
docs: Find a {@link By} locator by its reference name
  
  @param elementReference
  @return {@link By}