public static Table GetFastTable(this UIItem item, string id, int searchDepth = 3) { var element = item.GetElement(SearchCriteria.ByAutomationId(id).AndControlType(ControlType.Table)); if (element == null) { return(null); } return(new FastTable(element, new NullActionListener())); }