public bool CheckIfSubLinkIsNotPresent2(string subLink) { IWebElement subLinklement = ObjectRepository.Driver.FindElement(By.PartialLinkText(subLink)); bool subLinkText = GenericHelper.ElementNotPresent(subLinklement); return(true); }