/// <summary> /// Get the count of records from the View All Applicants menu item /// </summary> /// <returns>The number of applicants from the menu</returns> public string GetMenuCount() { var parent = ViewAllApplicantsLink.GetParentElement(); var count = parent.FindElement(By.CssSelector("span.count.pull-right")).Text; return(count); }
/// <summary> /// Click the 'View All Applicants' link /// </summary> public void ClickViewAllApplicants() { ViewAllApplicantsLink.WaitAndClick(_driver); }