Package de.bmiag.tapir.selenium.element
Interface InputWebElementHandler
-
- All Known Implementing Classes:
DefaultInputWebElementHandler
,HtmlUnitInputWebElementHandler
public interface InputWebElementHandler
HTML input elements need some special handling concerning certain operations. Unfortunately the behaviour differs between different implementation ofWebDriver
. Therefore this interface offers the possibility to customize the behavior.- Author:
- Oliver Libutzki <[email protected]>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteText(org.openqa.selenium.WebElement webElement)
Deletes the text of the givenWebElement
which has to be a HTML input element.void
loseFocus(org.openqa.selenium.WebElement webElement)
Forces the givenWebElement
to lose its focus in order to trigger the onchange event.
-
-
-
Method Detail
-
loseFocus
void loseFocus(org.openqa.selenium.WebElement webElement)
Forces the givenWebElement
to lose its focus in order to trigger the onchange event.- Parameters:
webElement
- HTML input element
-
deleteText
void deleteText(org.openqa.selenium.WebElement webElement)
Deletes the text of the givenWebElement
which has to be a HTML input element.- Parameters:
webElement
- HTML input element
-
-