public class ClickAndHoldAction extends MouseAction implements org.openqa.selenium.interactions.Action
MouseAction.Buttonmousewhere| Constructor and Description |
|---|
ClickAndHoldAction(org.openqa.selenium.interactions.Mouse mouse,
org.openqa.selenium.internal.Locatable locationProvider) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Object> |
asList() |
void |
perform()
Holds down the mouse button on a selected element.
|
getActionLocation, moveToLocationgetTargetIdpublic ClickAndHoldAction(org.openqa.selenium.interactions.Mouse mouse,
org.openqa.selenium.internal.Locatable locationProvider)
public void perform()
perform in interface org.openqa.selenium.interactions.Actionpublic java.util.List<java.lang.Object> asList()