예제 #1
0
        private IEnumerable <String> GetColumnNames()
        {
            var selector = $"#{_gridId} thead th[{PropertyNameAttribute}]";

            return
                (Browser
                 .FindElements(By.jQuery(selector))
                 .Select(e => e.GetAttribute(PropertyNameAttribute)
                         .Split('_')
                         .Last())
                 .ToList());
        }
예제 #2
0
        private IWebElement GetCellFor(int rowIndex, PropertyInfo property)
        {
            var selector = GetCellSelector(rowIndex, property.Name);

            return(Browser.FindElementByjQuery(By.jQuery(selector)));
        }