Class SendKeysUtils

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

public final class SendKeysUtils
extends TolerantInteraction
  • Constructor Details

  • Method Details

    • tolerantType

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

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