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 Summary

    Constructors 
    Constructor Description
    ClickUtils()  
  • Method Summary

    Modifier and Type Method Description
    static void tolerantClick​(org.openqa.selenium.WebElement webElement)  
    static void tolerantClick​(org.openqa.selenium.WebElement webElement, int timeout)  

    Methods inherited from class uk.co.evoco.webdriver.utils.TolerantInteraction

    tolerantInteraction, tolerantInteraction, tolerantInteraction

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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