Class 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 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultInputWebElementHandler

        public DefaultInputWebElementHandler()
    • Method Detail

      • loseFocus

        public void loseFocus​(org.openqa.selenium.WebElement webElement)
        Description copied from interface: InputWebElementHandler
        Forces the given WebElement to lose its focus in order to trigger the onchange event.
        Specified by:
        loseFocus in interface InputWebElementHandler
        Parameters:
        webElement - HTML input element
      • deleteText

        public void deleteText​(org.openqa.selenium.WebElement webElement)
        Description copied from interface: InputWebElementHandler
        Deletes the text of the given WebElement which has to be a HTML input element.
        Specified by:
        deleteText in interface InputWebElementHandler
        Parameters:
        webElement - HTML input element