public virtual IList <string> GetTenantRequiredFieldLocators() { return(reqFieldLocators = PageAction.GetAttributes(new List <By>() { By.XPath("//span[contains(text(),'Required')]"), By.XPath("//span[contains(text(),'Required')]/parent::span"), By.XPath("//span[contains(text(),'You need at least 1 submittal file')]") }, "data-valmsg-for")); }