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 Detail

      • ClickUtils

        public ClickUtils()
    • Method Detail

      • 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