Пример #1
0
        /// <summary>
        /// Waits until element is visible. Internally, uses element.Displayed with ignored WebDriver exceptions
        /// </summary>
        /// <returns></returns>

        public static IWebElement WaitUntilVisible(this IWebElement element)
        {
            return(Wait.UntilVisible(element, TimeSpan.FromMilliseconds(DefaultTimeOutMilliseconds)));
        }
Пример #2
0
 /// <summary>
 /// Waits until element is visible. Internally, uses element.Displayed with ignored WebDriver exceptions
 /// </summary>
 /// <returns></returns>
 public static IWebElement WaitUntilVisible(this IWebElement element, TimeSpan timeOut)
 {
     return(Wait.UntilVisible(element, timeOut));
 }