public class HtmlUnitKeyboard extends Object implements org.openqa.selenium.interactions.Keyboard
Modifier and Type | Method and Description |
---|---|
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) |
public void sendKeys(CharSequence... keysToSend)
sendKeys
in interface org.openqa.selenium.interactions.Keyboard
public void sendKeys(com.gargoylesoftware.htmlunit.html.HtmlElement element, String currentValue, InputKeysContainer keysToSend)
public void pressKey(CharSequence keyToPress)
pressKey
in interface org.openqa.selenium.interactions.Keyboard
public void releaseKey(CharSequence keyToRelease)
releaseKey
in interface org.openqa.selenium.interactions.Keyboard
public void performSingleKeyAction(com.gargoylesoftware.htmlunit.html.HtmlElement element, CharSequence modifierKey, String eventDescription)
public boolean isShiftPressed()
public boolean isCtrlPressed()
public boolean isAltPressed()
Copyright © 2014. All rights reserved.