Class SelfHealingDriverWait

java.lang.Object
org.openqa.selenium.support.ui.FluentWait<org.openqa.selenium.WebDriver>
org.openqa.selenium.support.ui.WebDriverWait
com.epam.healenium.SelfHealingDriverWait
All Implemented Interfaces:
org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver>

public class SelfHealingDriverWait extends org.openqa.selenium.support.ui.WebDriverWait
  • Field Summary

    Fields inherited from class org.openqa.selenium.support.ui.FluentWait

    DEFAULT_SLEEP_TIMEOUT
  • Constructor Summary

    Constructors
    Constructor
    Description
    SelfHealingDriverWait(org.openqa.selenium.WebDriver driver, Duration timeout)
     
    SelfHealingDriverWait(org.openqa.selenium.WebDriver driver, Duration timeout, Duration sleep)
     
    SelfHealingDriverWait(org.openqa.selenium.WebDriver driver, Duration timeout, Duration sleep, Clock clock, org.openqa.selenium.support.ui.Sleeper sleeper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <V> V
    until(Function<? super org.openqa.selenium.WebDriver,V> isTrue)
     

    Methods inherited from class org.openqa.selenium.support.ui.WebDriverWait

    timeoutException

    Methods inherited from class org.openqa.selenium.support.ui.FluentWait

    ignoreAll, ignoring, ignoring, pollingEvery, withMessage, withMessage, withTimeout

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SelfHealingDriverWait

      public SelfHealingDriverWait(org.openqa.selenium.WebDriver driver, Duration timeout)
    • SelfHealingDriverWait

      public SelfHealingDriverWait(org.openqa.selenium.WebDriver driver, Duration timeout, Duration sleep)
    • SelfHealingDriverWait

      public SelfHealingDriverWait(org.openqa.selenium.WebDriver driver, Duration timeout, Duration sleep, Clock clock, org.openqa.selenium.support.ui.Sleeper sleeper)
  • Method Details

    • until

      public <V> V until(Function<? super org.openqa.selenium.WebDriver,V> isTrue)
      Specified by:
      until in interface org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver>
      Overrides:
      until in class org.openqa.selenium.support.ui.FluentWait<org.openqa.selenium.WebDriver>