/// <summary> /// Verifies if an element text content is equals that the expected text. /// Wrapper method to WaitForTextToBePresent /// </summary> /// <param name="element">the web element</param> /// <param name="expectedText">the expected text inside the web element</param> /// <param name="elementName">the element name</param> /// <param name="page">the element page name</param> protected void IsTextPresent(IWebElement element, String expectedText, String elementName, String page) { WaitsHandler.WaitForTextToBePresent(DriverManager.GetDriver(), element, expectedText, elementName, page); }