/* Constructors */ public TMSAssigneesSubpage(IWebDriver driver) : base(driver) { if (driver.Url == "https://tms.lionbridge.com/") { IReadOnlyCollection <IWebElement> auxiliaryCollection; string auxiliaryString; var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(60)); wait.Until(driver1 => ((IJavaScriptExecutor)driver).ExecuteScript("return document.readyState").Equals("complete")); wait.Until(ExpectedConditions.ElementToBeClickable(By.Id("statusassignees"))); auxiliaryCollection = driver.FindElements(By.Id("jnotify-item-msg")); if (auxiliaryCollection.Count != 0) { errorMessage = auxiliaryCollection.ElementAt(0); } assigneesNavBar = new StatusNavBar(driver); assigneesFiltersInitBar = new FiltersInitBar(driver); } }