public void SortTable() { var t = new HtmlTable(Driver.FindElement(ByExample1Table)); var start = t.GetCell(2, 2); t.GetCell(4, 1).Click(); var end = t.GetCell(2, 2); }
public void GetCellByIndexWithHeaderRow(int column, int row, string cell) { Assume.That(Driver.ElementExists(TablesPage.ByTableOne)); var table = new HtmlTable(Driver.FindElement(TablesPage.ByTableOne)); Assert.AreEqual(cell, table.GetCell(column, row).Text); }