Package com.version1.webdriver.utils
Class SendKeysUtils
java.lang.Object
com.version1.webdriver.utils.TolerantInteraction
com.version1.webdriver.utils.SendKeysUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidtolerantType(org.openqa.selenium.WebElement webElement, String textToType) static voidtolerantType(org.openqa.selenium.WebElement webElement, String textToType, int timeout) Methods inherited from class com.version1.webdriver.utils.TolerantInteraction
tolerantInteraction, tolerantInteraction, tolerantInteraction, tolerantInteraction, tolerantInteraction, tolerantInteractionToClear, tolerantInteractionToGetAttribute, tolerantInteractionToGetText
-
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 locatedtextToType- text that should be typedtimeout- 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
-