org.openqa.selenium.interactions
Class ContextClickAction

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

public class ContextClickAction
extends MouseAction
implements Action

Context-clicks an element


Field Summary
 
Fields inherited from class org.openqa.selenium.interactions.internal.MouseAction
mouse
 
Fields inherited from class org.openqa.selenium.interactions.internal.BaseAction
where
 
Constructor Summary
ContextClickAction(Mouse mouse, Locatable where)
           
 
Method Summary
 void perform()
          Emulates clicking on the mouse button that would bring up contextual menus (usually right-clicking).
 
Methods inherited from class org.openqa.selenium.interactions.internal.MouseAction
getActionLocation, moveToLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextClickAction

public ContextClickAction(Mouse mouse,
                          Locatable where)
Method Detail

perform

public void perform()
Emulates clicking on the mouse button that would bring up contextual menus (usually right-clicking).

Specified by:
perform in interface Action


Copyright © 2012. All Rights Reserved.