Package org.openqa.selenium.interactions
Class KeyInput
- java.lang.Object
-
- org.openqa.selenium.interactions.KeyInput
-
- All Implemented Interfaces:
Encodable,InputSource
public class KeyInput extends java.lang.Object implements InputSource, Encodable
Models a key input source.
-
-
Constructor Summary
Constructors Constructor Description KeyInput(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InteractioncreateKeyDown(int codePoint)InteractioncreateKeyUp(int codePoint)java.util.Map<java.lang.String,java.lang.Object>encode()SourceTypegetInputType()
-
-
-
Method Detail
-
getInputType
public SourceType getInputType()
- Specified by:
getInputTypein interfaceInputSource
-
createKeyDown
public Interaction createKeyDown(int codePoint)
-
createKeyUp
public Interaction createKeyUp(int codePoint)
-
-