public class KeyboardEvent extends InputEvent<KeyboardEventName>
| Modifier and Type | Field and Description |
|---|---|
protected String |
inputTextBeforeKeyAction |
protected org.openqa.selenium.Keys |
key |
protected NewTextLocation |
textLocation |
name, type| Constructor and Description |
|---|
KeyboardEvent(KeyboardEventName name,
org.openqa.selenium.Keys key,
String inputTextBeforeKeyAction,
NewTextLocation textLocation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getInputText() |
org.openqa.selenium.Keys |
getKey() |
NewTextLocation |
getTextLocation()
Location where to type the text.
|
getName, getTypeprotected org.openqa.selenium.Keys key
protected String inputTextBeforeKeyAction
protected NewTextLocation textLocation
public KeyboardEvent(KeyboardEventName name, org.openqa.selenium.Keys key, String inputTextBeforeKeyAction, NewTextLocation textLocation)
public org.openqa.selenium.Keys getKey()
public String getInputText()
public NewTextLocation getTextLocation()
Copyright © 2021. All rights reserved.