Class SendKeysUtils

java.lang.Object
com.version1.webdriver.utils.TolerantInteraction
com.version1.webdriver.utils.SendKeysUtils

public final class SendKeysUtils extends TolerantInteraction
  • Constructor Details

    • SendKeysUtils

      public SendKeysUtils()
  • Method Details

    • tolerantType

      public static void tolerantType(org.openqa.selenium.WebElement webElement, String textToType, int timeout) throws Throwable
      Parameters:
      webElement - active WebElement, already located
      textToType - text that should be typed
      timeout - time in seconds to keep trying
      Throws:
      Throwable - any unhandled or un-tolerated exception
    • tolerantType

      public static void tolerantType(org.openqa.selenium.WebElement webElement, String textToType) throws Throwable
      Throws:
      Throwable