code: public static By getLocator(String applicationKey, String code, Object... args) {
          By locator = null;
          logger.debug("getLocator with this application key : {}", applicationKey);
          logger.debug("getLocator with this locator file : {}", Context.iniFiles.get(applicationKey));
          final Ini ini = Context.iniFiles.get(applicationKey);
  
          final Map<String, String> section = ini.get(code);
          if (section != null) {
              final Entry<String, String> entry = section.entrySet().iterator().next();
              final String selector = String.format(entry.getValue(), args);
              if ("css".equals(entry.getKey())) {
                  locator = By.cssSelector(selector);
              } else if ("link".equals(entry.getKey())) {
                  locator = By.linkText(selector);
              } else if ("id".equals(entry.getKey())) {
                  locator = By.id(selector);
              } else if ("name".equals(entry.getKey())) {
                  locator = By.name(selector);
              } else if ("xpath".equals(entry.getKey())) {
                  locator = By.xpath(selector);
              } else if ("class".equals(entry.getKey())) {
                  locator = By.className(selector);
              } else {
                  Assert.fail(entry.getKey() + " NOT implemented!");
              }
          } else {
              Assert.fail(code + " NOT implemented in ini file " + Context.iniFiles.get(applicationKey) + "!");
          }
          return locator;
      }
docs: This method read a application descriptor file and return a {@link org.openqa.selenium.By} object (xpath, id, link ...).
  
  @param applicationKey
  Name of application. Each application has its fair description file.
  @param code
  Name of element on the web Page.
  @param args
  list of description (xpath, id, link ...) for code.
  @return a {@link org.openqa.selenium.By} object (xpath, id, link ...)