/// <summary> /// Get all the link text from the current menu /// </summary> /// <returns>A StringCollection of all text from the current menu</returns> public StringCollection GetNavLinkText() { // wait for the menu to actually load // this avoids grabbing the incorrect elements Thread.Sleep(TimeSpan.FromSeconds(1)); return(NavMenuLinks.GetElementsText()); }
public StringCollection GetNavLinkText() { return(NavMenuLinks.GetElementsText()); }