public class KeyInput
extends java.lang.Object
implements org.openqa.selenium.interactions.InputSource, org.openqa.selenium.interactions.Encodable
| Modifier and Type | Class and Description |
|---|---|
private static class |
KeyInput.TypingInteraction |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name |
| Constructor and Description |
|---|
KeyInput(java.util.Optional<java.lang.String> name) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.interactions.Interaction |
createKeyDown(int codePoint) |
org.openqa.selenium.interactions.Interaction |
createKeyUp(int codePoint) |
java.util.Map<java.lang.String,java.lang.Object> |
encode() |
org.openqa.selenium.interactions.SourceType |
getInputType() |
public org.openqa.selenium.interactions.SourceType getInputType()
getInputType in interface org.openqa.selenium.interactions.InputSourcepublic org.openqa.selenium.interactions.Interaction createKeyDown(int codePoint)
public org.openqa.selenium.interactions.Interaction createKeyUp(int codePoint)
public java.util.Map<java.lang.String,java.lang.Object> encode()
encode in interface org.openqa.selenium.interactions.Encodable