/// <summary> /// Retrieve the web element of a specific element from the new user row in the user table and scroll the view /// to that element /// </summary> /// <param name="column">entry in the TABLE_COLUMN enum that point to the expected column index</param> /// <returns></returns> private IWebElement _GetNewUserCellRoot(TABLE_COLUMN column, bool bScrollToElem = true) { ReadOnlyCollection <IWebElement> listCells = _GetNewUserRowRoot().FindElements(By.XPath("./td")); IWebElement weCell = listCells[(int)column]; if (bScrollToElem) { WebElementHelper.ScrollToElement(weCell); } return(weCell); }