public class HtmlUnitKeyboard extends Object implements org.openqa.selenium.interactions.Keyboard
Modifier and Type | Method and Description |
---|---|
boolean |
isAltPressed() |
boolean |
isCtrlPressed() |
boolean |
isPressed(char ch) |
boolean |
isPressed(org.openqa.selenium.Keys keys) |
boolean |
isShiftPressed() |
void |
pressKey(CharSequence keyToPress) |
void |
releaseKey(CharSequence keyToRelease) |
void |
sendKeys(CharSequence... keysToSend) |
public void sendKeys(CharSequence... keysToSend)
sendKeys
in interface org.openqa.selenium.interactions.Keyboard
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 boolean isShiftPressed()
public boolean isCtrlPressed()
public boolean isAltPressed()
public boolean isPressed(char ch)
public boolean isPressed(org.openqa.selenium.Keys keys)
Copyright © 2021. All rights reserved.