org.openqa.selenium.htmlunit
Class HtmlUnitKeyboard
java.lang.Object
org.openqa.selenium.htmlunit.HtmlUnitKeyboard
- All Implemented Interfaces:
- Keyboard
public class HtmlUnitKeyboard
- extends Object
- implements Keyboard
Implements keyboard operations using the HtmlUnit WebDriver.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sendKeys
public void sendKeys(CharSequence... keysToSend)
- Specified by:
sendKeys
in interface Keyboard
sendKeys
public void sendKeys(com.gargoylesoftware.htmlunit.html.HtmlElement element,
String currentValue,
InputKeysContainer keysToSend)
pressKey
public void pressKey(Keys keyToPress)
- Specified by:
pressKey
in interface Keyboard
releaseKey
public void releaseKey(Keys keyToRelease)
- Specified by:
releaseKey
in interface Keyboard
performSingleKeyAction
public void performSingleKeyAction(com.gargoylesoftware.htmlunit.html.HtmlElement element,
Keys modifierKey,
String eventDescription)
isShiftPressed
public boolean isShiftPressed()
isCtrlPressed
public boolean isCtrlPressed()
isAltPressed
public boolean isAltPressed()
Copyright © 2013. All Rights Reserved.