Exemplo n.º 1
0
 public static void WaitForElementToBeVisible(this IWebElement element, int timeOut = 5)
 {
     new WebDriverWait(WebDriverUtil.GetInstance(), TimeSpan.FromSeconds(timeOut)).Until(ElementIsVisible(element));
 }
Exemplo n.º 2
0
 public static void WaitForElementToBeClickable(this IWebElement element, int timeOut = 5)
 {
     new WebDriverWait(WebDriverUtil.GetInstance(), TimeSpan.FromSeconds(timeOut)).Until(ExpectedConditions.ElementToBeClickable(element));
 }
Exemplo n.º 3
0
 public void TearDownTest()
 {
     WebDriverUtil.Close();
 }