public IWebElement GetMenuElement(string menuName) { return(NavBar.FindElement(By.XPath($"//a[contains(text(),'{menuName}')]"))); }