Beispiel #1
0
        public static void SetExplicitWaitUntilContentChanged(BaseElement element, string newText)
        {
            var wait = new WebDriverWait(driver, new TimeSpan(int.Parse(ExplicitTimeout)));

            wait.Until(SeleniumExtras.WaitHelpers.ExpectedConditions.TextToBePresentInElementLocated(
                           element.GetButtonLocator(), newText));
        }