public class PointerInput
extends java.lang.Object
implements org.openqa.selenium.interactions.InputSource, org.openqa.selenium.interactions.Encodable
Modifier and Type | Class and Description |
---|---|
static class |
PointerInput.Kind |
static class |
PointerInput.MouseButton |
static class |
PointerInput.Origin |
Constructor and Description |
---|
PointerInput(PointerInput.Kind kind,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.interactions.Interaction |
createPointerDown(int button) |
org.openqa.selenium.interactions.Interaction |
createPointerMove(java.time.Duration duration,
PointerInput.Origin origin,
int x,
int y) |
org.openqa.selenium.interactions.Interaction |
createPointerUp(int button) |
java.util.Map<java.lang.String,java.lang.Object> |
encode() |
org.openqa.selenium.interactions.SourceType |
getInputType() |
public PointerInput(PointerInput.Kind kind, java.lang.String name)
public org.openqa.selenium.interactions.SourceType getInputType()
getInputType
in interface org.openqa.selenium.interactions.InputSource
public java.util.Map<java.lang.String,java.lang.Object> encode()
encode
in interface org.openqa.selenium.interactions.Encodable
public org.openqa.selenium.interactions.Interaction createPointerMove(java.time.Duration duration, PointerInput.Origin origin, int x, int y)
public org.openqa.selenium.interactions.Interaction createPointerDown(int button)
public org.openqa.selenium.interactions.Interaction createPointerUp(int button)