org.openqa.selenium.interactions
Class ButtonReleaseAction

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.ButtonReleaseAction
All Implemented Interfaces:
Action

public class ButtonReleaseAction
extends MouseAction
implements Action

Releases the left mouse button


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
ButtonReleaseAction(Mouse mouse, Locatable locationProvider)
           
 
Method Summary
 void perform()
          Releases the mouse button currently left held.
 
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

ButtonReleaseAction

public ButtonReleaseAction(Mouse mouse,
                           Locatable locationProvider)
Method Detail

perform

public void perform()
Releases the mouse button currently left held. This action can be called for an element different than the one ClickAndHoldAction was called for. However, if this action is performed out of sequence (without holding down the mouse button, for example) the results will be different between browsers.

Specified by:
perform in interface Action


Copyright © 2013. All Rights Reserved.