public class EventFiringTouch
extends java.lang.Object
implements org.openqa.selenium.interactions.TouchScreen
| Modifier and Type | Field and Description |
|---|---|
private WebDriverEventListener |
dispatcher |
private org.openqa.selenium.WebDriver |
driver |
private org.openqa.selenium.interactions.TouchScreen |
touchScreen |
| Constructor and Description |
|---|
EventFiringTouch(org.openqa.selenium.WebDriver driver,
WebDriverEventListener dispatcher) |
| 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 org.openqa.selenium.WebDriver driver
private final WebDriverEventListener dispatcher
private final org.openqa.selenium.interactions.TouchScreen touchScreen
public EventFiringTouch(org.openqa.selenium.WebDriver driver,
WebDriverEventListener dispatcher)
public void singleTap(org.openqa.selenium.interactions.internal.Coordinates where)
singleTap in interface org.openqa.selenium.interactions.TouchScreenpublic void down(int x,
int y)
down in interface org.openqa.selenium.interactions.TouchScreenpublic void up(int x,
int y)
up in interface org.openqa.selenium.interactions.TouchScreenpublic void move(int x,
int y)
move in interface org.openqa.selenium.interactions.TouchScreenpublic void scroll(org.openqa.selenium.interactions.internal.Coordinates where,
int xOffset,
int yOffset)
scroll in interface org.openqa.selenium.interactions.TouchScreenpublic void doubleTap(org.openqa.selenium.interactions.internal.Coordinates where)
doubleTap in interface org.openqa.selenium.interactions.TouchScreenpublic void longPress(org.openqa.selenium.interactions.internal.Coordinates where)
longPress in interface org.openqa.selenium.interactions.TouchScreenpublic void scroll(int xOffset,
int yOffset)
scroll in interface org.openqa.selenium.interactions.TouchScreenpublic void flick(int xSpeed,
int ySpeed)
flick in interface org.openqa.selenium.interactions.TouchScreenpublic void flick(org.openqa.selenium.interactions.internal.Coordinates where,
int xOffset,
int yOffset,
int speed)
flick in interface org.openqa.selenium.interactions.TouchScreen