Package org.openqa.selenium.interactions
Class WheelInput
java.lang.Object
org.openqa.selenium.interactions.WheelInput
- All Implemented Interfaces:
Encodable,InputSource
Models a wheel input
source.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateScroll(int x, int y, int deltaX, int deltaY, Duration duration, WheelInput.ScrollOrigin origin) createScroll(Point start, int deltaX, int deltaY, Duration duration, WheelInput.ScrollOrigin origin) encode()getName()
-
Constructor Details
-
WheelInput
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceInputSource
-
getInputType
- Specified by:
getInputTypein interfaceInputSource
-
createScroll
public Interaction createScroll(int x, int y, int deltaX, int deltaY, Duration duration, WheelInput.ScrollOrigin origin) -
createScroll
public Interaction createScroll(Point start, int deltaX, int deltaY, Duration duration, WheelInput.ScrollOrigin origin) -
encode
-