Package de.bmiag.tapir.htmlbasic.impl
Class DefaultInputWebElementHandler
- java.lang.Object
-
- de.bmiag.tapir.htmlbasic.impl.DefaultInputWebElementHandler
-
- All Implemented Interfaces:
InputWebElementHandler
@Component("inputWebElementHandler") public class DefaultInputWebElementHandler extends java.lang.Object implements InputWebElementHandler
Default implementation ofInputWebElementHandler
.- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description DefaultInputWebElementHandler()
-
Method Summary
All Methods Instance Methods Concrete 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
public void loseFocus(org.openqa.selenium.WebElement webElement)
Description copied from interface:InputWebElementHandler
Forces the givenWebElement
to lose its focus in order to trigger the onchange event.- Specified by:
loseFocus
in interfaceInputWebElementHandler
- Parameters:
webElement
- HTML input element
-
deleteText
public void deleteText(org.openqa.selenium.WebElement webElement)
Description copied from interface:InputWebElementHandler
Deletes the text of the givenWebElement
which has to be a HTML input element.- Specified by:
deleteText
in interfaceInputWebElementHandler
- Parameters:
webElement
- HTML input element
-
-