Package org.openqa.selenium.interactions
Class ClickAndHoldAction
- java.lang.Object
-
- org.openqa.selenium.interactions.internal.BaseAction
-
- org.openqa.selenium.interactions.internal.MouseAction
-
- org.openqa.selenium.interactions.ClickAndHoldAction
-
- All Implemented Interfaces:
Action
,IsInteraction
@Deprecated public class ClickAndHoldAction extends MouseAction implements Action
Deprecated.Presses the left mouse button without releasing it.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openqa.selenium.interactions.internal.MouseAction
MouseAction.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
Constructors Constructor Description ClickAndHoldAction(Mouse mouse, Locatable locationProvider)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<Interaction>
asInteractions(PointerInput mouse, KeyInput keyboard)
Deprecated.void
perform()
Deprecated.Holds down the mouse button on a selected element.-
Methods inherited from class org.openqa.selenium.interactions.internal.MouseAction
getActionLocation, moveToLocation, moveToLocation
-
Methods inherited from class org.openqa.selenium.interactions.internal.BaseAction
getTargetElement
-
-
-
-
Method Detail
-
perform
public void perform()
Deprecated.Holds down the mouse button on a selected element. If this action is called out of sequence (i.e. twice in a row, without releasing the button after the first action) the results will be different between browsers.
-
asInteractions
public java.util.List<Interaction> asInteractions(PointerInput mouse, KeyInput keyboard)
Deprecated.- Specified by:
asInteractions
in interfaceIsInteraction
-
-