Package org.openqa.selenium.interactions
Class WheelInput
- java.lang.Object
-
- org.openqa.selenium.interactions.WheelInput
-
- All Implemented Interfaces:
Encodable
,InputSource
public class WheelInput extends java.lang.Object implements InputSource, Encodable
Models a wheel input source.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WheelInput.ScrollOrigin
-
Constructor Summary
Constructors Constructor Description WheelInput(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Interaction
createScroll(int x, int y, int deltaX, int deltaY, java.time.Duration duration, WheelInput.ScrollOrigin origin)
java.util.Map<java.lang.String,java.lang.Object>
encode()
SourceType
getInputType()
java.lang.String
getName()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceInputSource
-
getInputType
public SourceType getInputType()
- Specified by:
getInputType
in interfaceInputSource
-
createScroll
public Interaction createScroll(int x, int y, int deltaX, int deltaY, java.time.Duration duration, WheelInput.ScrollOrigin origin)
-
-