Package uk.co.evoco.webdriver.utils
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 voidtolerantType(org.openqa.selenium.WebElement webElement, java.lang.String textToType)static voidtolerantType(org.openqa.selenium.WebElement webElement, java.lang.String textToType, int timeout)Methods inherited from class uk.co.evoco.webdriver.utils.TolerantInteraction
tolerantInteraction, tolerantInteraction, tolerantInteraction
-
Constructor Details
-
SendKeysUtils
public SendKeysUtils()
-
-
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 locatedtextToType- text that should be typedtimeout- 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
-