Class SendKeysUtils

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

public final class SendKeysUtils
extends TolerantInteraction
  • Constructor Summary

    Constructors 
    Constructor Description
    SendKeysUtils()  
  • Method Summary

    Modifier and Type Method Description
    static void tolerantType​(org.openqa.selenium.WebElement webElement, java.lang.String textToType)  
    static void tolerantType​(org.openqa.selenium.WebElement webElement, java.lang.String textToType, 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

    • 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