private IEnumerable <String> GetColumnNames() { var selector = $"#{_gridId} thead th[{PropertyNameAttribute}]"; return (Browser .FindElements(By.jQuery(selector)) .Select(e => e.GetAttribute(PropertyNameAttribute) .Split('_') .Last()) .ToList()); }
private IWebElement GetCellFor(int rowIndex, PropertyInfo property) { var selector = GetCellSelector(rowIndex, property.Name); return(Browser.FindElementByjQuery(By.jQuery(selector))); }