Example #1
0
 /// <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());
 }
Example #2
0
 public StringCollection GetNavLinkText()
 {
     return(NavMenuLinks.GetElementsText());
 }