@Component(value="inputWebElementHandler") public class DefaultInputWebElementHandler extends Object implements InputWebElementHandler
InputWebElementHandler
.Constructor and Description |
---|
DefaultInputWebElementHandler() |
Modifier and Type | Method and Description |
---|---|
void |
deleteText(org.openqa.selenium.WebElement webElement)
Deletes the text of the given
WebElement which has to be a HTML input element. |
void |
loseFocus(org.openqa.selenium.WebElement webElement)
Forces the given
WebElement to lose its focus in order to trigger the onchange event. |
public void loseFocus(org.openqa.selenium.WebElement webElement)
InputWebElementHandler
WebElement
to lose its focus in order to trigger the onchange event.loseFocus
in interface InputWebElementHandler
webElement
- HTML input elementpublic void deleteText(org.openqa.selenium.WebElement webElement)
InputWebElementHandler
WebElement
which has to be a HTML input element.deleteText
in interface InputWebElementHandler
webElement
- HTML input elementCopyright © 2018–2021 b+m Informatik AG. All rights reserved.