示例#1
0
 /// <summary>
 /// Returns the element cell.
 /// </summary>
 /// <param name="row"></param>
 /// <param name="col"></param>
 /// <returns></returns>
 public virtual IWebElement GetCell(int row, int col)
 {
     return(RowElements
            .ElementAt(row)
            .FindElements(cellsSelector)
            .ElementAt(col));
 }
示例#2
0
 /// <summary>
 /// Gets the row.
 /// </summary>
 /// <param name="row">The row.</param>
 /// <returns></returns>
 public virtual IWebElement GetRow(int row)
 {
     return(RowElements.ElementAt(row));
 }