Class HtmlUnitInputWebElementHandler
- java.lang.Object
-
- de.bmiag.tapir.selenium.htmlunit.htmlbasic.HtmlUnitInputWebElementHandler
-
- All Implemented Interfaces:
InputWebElementHandler
public class HtmlUnitInputWebElementHandler extends java.lang.Object implements InputWebElementHandler
TheHtmlUnitInputWebElementHandler
providesHtmlUnitDriver
specific handling ofloseFocus(WebElement)
anddeleteText(WebElement)
.- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description HtmlUnitInputWebElementHandler()
-
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
-
-