Beispiel #1
0
        public void ShouldScrapTextFromTable()
        {
            driver.Get("/table.html");
            var          element = driver.FindElementByCss("#table table");
            TableElement table   = element.AsTable();
            var          data    = table.Data();

            A.AreEqual(data[1, 1], "Table Heading 1");
            A.AreEqual(data[6, 5], "Table Footer 5");
        }