Class ClickUtils

java.lang.Object
uk.co.evoco.webdriver.utils.TolerantInteraction
uk.co.evoco.webdriver.utils.ClickUtils

public final class ClickUtils
extends TolerantInteraction
Only for us in the situations outlined for the provided methods. There's nothing wrong with WebDrivers normal click method, if you don't need this, steer well clear.
  • Constructor Details

  • Method Details

    • tolerantClick

      public static void tolerantClick​(org.openqa.selenium.WebElement webElement, int timeout) throws java.lang.Throwable
      Parameters:
      webElement - active WebElements, already located
      timeout - time in seconds to keep trying
      Throws:
      java.lang.Throwable - any unhandled or un-tolerated exception
    • tolerantClick

      public static void tolerantClick​(org.openqa.selenium.WebElement webElement) throws java.lang.Throwable
      Throws:
      java.lang.Throwable
    • tolerantClick

      public static void tolerantClick​(org.openqa.selenium.WebDriver webDriver, org.openqa.selenium.By locator) throws java.lang.Throwable
      Throws:
      java.lang.Throwable