org.openqa.selenium.remote
Class RemoteKeyboard

java.lang.Object
  extended by org.openqa.selenium.remote.RemoteKeyboard
All Implemented Interfaces:
Keyboard

public class RemoteKeyboard
extends java.lang.Object
implements Keyboard

An implementation of the keyboard for use with the remote webdriver.


Field Summary
protected  ExecuteMethod executor
           
 
Constructor Summary
RemoteKeyboard(ExecuteMethod executor)
           
 
Method Summary
 void pressKey(Keys keyToPress)
           
 void releaseKey(Keys keyToRelease)
           
 void sendKeys(java.lang.CharSequence... keysToSend)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface Keyboard

pressKey

public void pressKey(Keys keyToPress)
Specified by:
pressKey in interface Keyboard

releaseKey

public void releaseKey(Keys keyToRelease)
Specified by:
releaseKey in interface Keyboard


Copyright © 2011. All Rights Reserved.