public class HtmlUnitKeyboard extends Object implements org.openqa.selenium.interactions.Keyboard
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAltPressed() |
boolean |
isCtrlPressed() |
boolean |
isShiftPressed() |
void |
pressKey(CharSequence keyToPress) |
void |
releaseKey(CharSequence keyToRelease) |
void |
sendKeys(CharSequence... keysToSend) |
void |
sendKeys(com.gargoylesoftware.htmlunit.html.HtmlElement element,
String currentValue,
InputKeysContainer keysToSend,
boolean releaseAllAtEnd) |
public void sendKeys(CharSequence... keysToSend)
sendKeys in interface org.openqa.selenium.interactions.Keyboardpublic void sendKeys(com.gargoylesoftware.htmlunit.html.HtmlElement element,
String currentValue,
InputKeysContainer keysToSend,
boolean releaseAllAtEnd)
public void pressKey(CharSequence keyToPress)
pressKey in interface org.openqa.selenium.interactions.Keyboardpublic void releaseKey(CharSequence keyToRelease)
releaseKey in interface org.openqa.selenium.interactions.Keyboardpublic boolean isShiftPressed()
public boolean isCtrlPressed()
public boolean isAltPressed()
Copyright © 2016. All rights reserved.