コード例 #1
0
        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);

        }
コード例 #2
0
 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);
 }