Package org.openqa.selenium.remote
Class RemoteKeyboard
- java.lang.Object
-
- org.openqa.selenium.remote.RemoteKeyboard
-
- All Implemented Interfaces:
org.openqa.selenium.interactions.Keyboard
public class RemoteKeyboard extends java.lang.Object implements org.openqa.selenium.interactions.Keyboard
An implementation of the keyboard for use with the remote webdriver.
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecuteMethod
executor
-
Constructor Summary
Constructors Constructor Description RemoteKeyboard(ExecuteMethod executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
pressKey(java.lang.CharSequence keyToPress)
void
releaseKey(java.lang.CharSequence keyToRelease)
void
sendKeys(java.lang.CharSequence... keysToSend)
-
-
-
Field Detail
-
executor
protected final ExecuteMethod executor
-
-
Constructor Detail
-
RemoteKeyboard
public RemoteKeyboard(ExecuteMethod executor)
-
-
Method Detail
-
sendKeys
public void sendKeys(java.lang.CharSequence... keysToSend)
- Specified by:
sendKeys
in interfaceorg.openqa.selenium.interactions.Keyboard
-
pressKey
public void pressKey(java.lang.CharSequence keyToPress)
- Specified by:
pressKey
in interfaceorg.openqa.selenium.interactions.Keyboard
-
releaseKey
public void releaseKey(java.lang.CharSequence keyToRelease)
- Specified by:
releaseKey
in interfaceorg.openqa.selenium.interactions.Keyboard
-
-