org.openqa.selenium.interactions
Class KeyDownAction

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

public class KeyDownAction
extends SingleKeyAction
implements Action

Emulates key press only, without the release.


Field Summary
 
Fields inherited from class org.openqa.selenium.interactions.internal.SingleKeyAction
key
 
Fields inherited from class org.openqa.selenium.interactions.internal.KeysRelatedAction
keyboard, mouse
 
Fields inherited from class org.openqa.selenium.interactions.internal.BaseAction
where
 
Constructor Summary
KeyDownAction(Keyboard keyboard, Mouse mouse, Keys key)
           
KeyDownAction(Keyboard keyboard, Mouse mouse, Locatable locationProvider, Keys key)
           
 
Method Summary
 void perform()
           
 
Methods inherited from class org.openqa.selenium.interactions.internal.KeysRelatedAction
focusOnElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyDownAction

public KeyDownAction(Keyboard keyboard,
                     Mouse mouse,
                     Locatable locationProvider,
                     Keys key)

KeyDownAction

public KeyDownAction(Keyboard keyboard,
                     Mouse mouse,
                     Keys key)
Method Detail

perform

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


Copyright © 2011. All Rights Reserved.