org.openqa.selenium.interactions
Class SendKeysAction

java.lang.Object
  extended by org.openqa.selenium.internal.interactions.BaseAction
      extended by org.openqa.selenium.internal.interactions.KeysRelatedAction
          extended by org.openqa.selenium.interactions.SendKeysAction
All Implemented Interfaces:
Action

public class SendKeysAction
extends KeysRelatedAction
implements Action

Sending a sequence of keys to an element.


Field Summary
 
Fields inherited from class org.openqa.selenium.internal.interactions.BaseAction
onElement, parent
 
Constructor Summary
SendKeysAction(WebDriver parent, java.lang.CharSequence... keysToSend)
           
SendKeysAction(WebDriver parent, WebElement toElement, java.lang.CharSequence... keysToSend)
           
 
Method Summary
 void perform()
           
 
Methods inherited from class org.openqa.selenium.internal.interactions.KeysRelatedAction
focusOnElement, getKeyboard
 
Methods inherited from class org.openqa.selenium.internal.interactions.BaseAction
getMouse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendKeysAction

public SendKeysAction(WebDriver parent,
                      WebElement toElement,
                      java.lang.CharSequence... keysToSend)

SendKeysAction

public SendKeysAction(WebDriver parent,
                      java.lang.CharSequence... keysToSend)
Method Detail

perform

public void perform()
Specified by:
perform in interface Action


Copyright © 2011. All Rights Reserved.