예제 #1
0
  // testNG-xml,dataprovider
  public List<WebElement> findElements(String locator) {
    List<WebElement> list = driver.findElements(Locators.get(locator));

    return list;
  }
예제 #2
0
 public WebElement findElement(String locator) {
   WebElement elem = driver.findElement(Locators.get(locator));
   return elem;
 }