public List<String> getTestList() {
    List<String> testList = new ArrayList<>();
    for (WebElement file : files) {
      String fileName = fixTestName(file.getText());
      if (fileName.endsWith("RTCDataChannel-binaryType.window.js")) {
        fileName = fileName.replace("js", "html");
      }
      if (testURLIsValid(fileName)) {
        testList.add(fileName);
      }
    }
    return testList;
  }
Determine whether the item name is a valid directory that contains test

@param itemName name of the item to validate
@return true if the item name is a valid directory that contains test
KITE-WPT-Test/src/main/java/org/webrtc/kite/wpt/pages/WPTDirPage.java