コード例 #1
0
 public final MapArray<String, ICell<T>> getColumn(String colName) {
   try {
     return cellsToColumn(
         LinqUtils.select(
             headers(), rowName -> table.cell(new Column(colName), new Row(rowName))));
   } catch (Exception ex) {
     throwRowsException(colName, ex);
     return null;
   }
 }
コード例 #2
0
 protected String[] getHeadersAction() {
   return LinqUtils.select(
           table.getWebElement().findElements(By.xpath(".//tr/td[1]")), WebElement::getText)
       .toArray(new String[1]);
 }