Class EventFiringKeyboard

  • All Implemented Interfaces:
    org.openqa.selenium.interactions.Keyboard

    public class EventFiringKeyboard
    extends java.lang.Object
    implements org.openqa.selenium.interactions.Keyboard
    A keyboard firing events.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void pressKey​(java.lang.CharSequence keyToPress)  
      void releaseKey​(java.lang.CharSequence keyToRelease)  
      void sendKeys​(java.lang.CharSequence... keysToSend)  
      • Methods inherited from class java.lang.Object

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

      • EventFiringKeyboard

        public EventFiringKeyboard​(org.openqa.selenium.WebDriver driver,
                                   WebDriverEventListener dispatcher)
    • Method Detail

      • sendKeys

        public void sendKeys​(java.lang.CharSequence... keysToSend)
        Specified by:
        sendKeys in interface org.openqa.selenium.interactions.Keyboard
      • pressKey

        public void pressKey​(java.lang.CharSequence keyToPress)
        Specified by:
        pressKey in interface org.openqa.selenium.interactions.Keyboard
      • releaseKey

        public void releaseKey​(java.lang.CharSequence keyToRelease)
        Specified by:
        releaseKey in interface org.openqa.selenium.interactions.Keyboard