org.openqa.selenium.htmlunit
Class HtmlUnitKeyboard

java.lang.Object
  extended by org.openqa.selenium.htmlunit.HtmlUnitKeyboard
All Implemented Interfaces:
org.openqa.selenium.interactions.Keyboard

public class HtmlUnitKeyboard
extends Object
implements org.openqa.selenium.interactions.Keyboard

Implements keyboard operations using the HtmlUnit WebDriver.


Method Summary
 boolean isAltPressed()
           
 boolean isCtrlPressed()
           
 boolean isShiftPressed()
           
 void performSingleKeyAction(com.gargoylesoftware.htmlunit.html.HtmlElement element, CharSequence modifierKey, String eventDescription)
          Deprecated. Visibility will soon be reduced.
 void pressKey(CharSequence keyToPress)
           
 void releaseKey(CharSequence keyToRelease)
           
 void sendKeys(CharSequence... keysToSend)
           
 void sendKeys(com.gargoylesoftware.htmlunit.html.HtmlElement element, String currentValue, InputKeysContainer keysToSend)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sendKeys

public void sendKeys(CharSequence... keysToSend)
Specified by:
sendKeys in interface org.openqa.selenium.interactions.Keyboard

sendKeys

public void sendKeys(com.gargoylesoftware.htmlunit.html.HtmlElement element,
                     String currentValue,
                     InputKeysContainer keysToSend)

pressKey

public void pressKey(CharSequence keyToPress)
Specified by:
pressKey in interface org.openqa.selenium.interactions.Keyboard

releaseKey

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

performSingleKeyAction

public void performSingleKeyAction(com.gargoylesoftware.htmlunit.html.HtmlElement element,
                                   CharSequence modifierKey,
                                   String eventDescription)
Deprecated. Visibility will soon be reduced.


isShiftPressed

public boolean isShiftPressed()

isCtrlPressed

public boolean isCtrlPressed()

isAltPressed

public boolean isAltPressed()


Copyright © 2013. All rights reserved.