public IList <ICell> CellsMatch(string regex, Row row) { var columnLine = Row(row); return(columnLine.Where(v => v.Value.Value.Matches(regex)).Select(v => v.Value).ToList()); }
public ICell Cell(string value, Row row) { var rowNum = row.HasName ? Rows.Headers.IndexOf(row.Name) + 1 : row.Num; return(Rows.GetRow(rowNum).FirstOrDefault(pair => pair.Value.Value.Equals(value)).Value); }
public bool WaitValue(string value, Row row) { return(Timer.Wait(() => Column(value, row) != null)); }
public ICell Cell(IWebElement webElement, Column column, Row row) { return(AddCell(webElement, column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num), row.Get(name => Rows.Headers.IndexOf(name) + 1, num => num), column.Get(name => name, num => ""), row.Get(name => name, num => ""))); }
private Dictionary <string, ICell> Row(Row row) { return(row.Get(Row, Row)); }
public Dictionary <string, ICell> Column(string value, Row row) { var columnCell = Cell(value, row); return(columnCell != null?Columns.GetColumn(columnCell.ColumnNum) : null); }