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