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 Interaction
createKeyDown(int codePoint)
Interaction
createKeyUp(int codePoint)
java.util.Map<java.lang.String,java.lang.Object>
encode()
SourceType
getInputType()
java.lang.String
getName()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceInputSource
-
getInputType
public SourceType getInputType()
- Specified by:
getInputType
in interfaceInputSource
-
createKeyDown
public Interaction createKeyDown(int codePoint)
-
createKeyUp
public Interaction createKeyUp(int codePoint)
-
-