public class RemoteTouchScreen
extends java.lang.Object
implements org.openqa.selenium.interactions.TouchScreen
Modifier and Type | Field and Description |
---|---|
private ExecuteMethod |
executeMethod |
Constructor and Description |
---|
RemoteTouchScreen(ExecuteMethod executeMethod) |
Modifier and Type | Method and Description |
---|---|
void |
doubleTap(org.openqa.selenium.interactions.internal.Coordinates where) |
void |
down(int x,
int y) |
void |
flick(org.openqa.selenium.interactions.internal.Coordinates where,
int xOffset,
int yOffset,
int speed) |
void |
flick(int xSpeed,
int ySpeed) |
void |
longPress(org.openqa.selenium.interactions.internal.Coordinates where) |
void |
move(int x,
int y) |
void |
scroll(org.openqa.selenium.interactions.internal.Coordinates where,
int xOffset,
int yOffset) |
void |
scroll(int xOffset,
int yOffset) |
void |
singleTap(org.openqa.selenium.interactions.internal.Coordinates where) |
void |
up(int x,
int y) |
private final ExecuteMethod executeMethod
public RemoteTouchScreen(ExecuteMethod executeMethod)
public void singleTap(org.openqa.selenium.interactions.internal.Coordinates where)
singleTap
in interface org.openqa.selenium.interactions.TouchScreen
public void down(int x, int y)
down
in interface org.openqa.selenium.interactions.TouchScreen
public void up(int x, int y)
up
in interface org.openqa.selenium.interactions.TouchScreen
public void move(int x, int y)
move
in interface org.openqa.selenium.interactions.TouchScreen
public void scroll(org.openqa.selenium.interactions.internal.Coordinates where, int xOffset, int yOffset)
scroll
in interface org.openqa.selenium.interactions.TouchScreen
public void doubleTap(org.openqa.selenium.interactions.internal.Coordinates where)
doubleTap
in interface org.openqa.selenium.interactions.TouchScreen
public void longPress(org.openqa.selenium.interactions.internal.Coordinates where)
longPress
in interface org.openqa.selenium.interactions.TouchScreen
public void scroll(int xOffset, int yOffset)
scroll
in interface org.openqa.selenium.interactions.TouchScreen
public void flick(int xSpeed, int ySpeed)
flick
in interface org.openqa.selenium.interactions.TouchScreen
public void flick(org.openqa.selenium.interactions.internal.Coordinates where, int xOffset, int yOffset, int speed)
flick
in interface org.openqa.selenium.interactions.TouchScreen