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 void
tolerantType(org.openqa.selenium.WebElement webElement, String textToType)
static void
tolerantType(org.openqa.selenium.WebElement webElement, String textToType, int timeout)
-
Methods inherited from class uk.co.evoco.webdriver.utils.TolerantInteraction
tolerantInteraction, tolerantInteraction, tolerantInteraction
-
-
-
-
Method Detail
-
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
-
-