Class 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

    • ClickUtils

      public ClickUtils()
  • Method Details

    • tolerantClick

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

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

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