Package org.openqa.selenium.interactions
Class PointerInput
java.lang.Object
org.openqa.selenium.interactions.PointerInput
- All Implemented Interfaces:
Encodable
,InputSource
Models a pointer input
source.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static final class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreatePointerDown
(int button) createPointerDown
(int button, PointerInput.PointerEventProperties eventProperties) createPointerMove
(Duration duration, PointerInput.Origin origin, int x, int y) createPointerMove
(Duration duration, PointerInput.Origin origin, int x, int y, PointerInput.PointerEventProperties eventProperties) createPointerMove
(Duration duration, PointerInput.Origin origin, Point offset) createPointerMove
(Duration duration, PointerInput.Origin origin, Point offset, PointerInput.PointerEventProperties eventProperties) createPointerUp
(int button) createPointerUp
(int button, PointerInput.PointerEventProperties eventProperties) encode()
getName()
-
Constructor Details
-
PointerInput
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceInputSource
-
getInputType
- Specified by:
getInputType
in interfaceInputSource
-
encode
-
createPointerMove
-
createPointerMove
-
createPointerMove
public Interaction createPointerMove(Duration duration, PointerInput.Origin origin, int x, int y, PointerInput.PointerEventProperties eventProperties) -
createPointerMove
public Interaction createPointerMove(Duration duration, PointerInput.Origin origin, Point offset, PointerInput.PointerEventProperties eventProperties) -
createPointerDown
-
createPointerDown
public Interaction createPointerDown(int button, PointerInput.PointerEventProperties eventProperties) -
createPointerUp
-
createPointerUp
-
eventProperties
-