public class EventFiringTouch extends Object implements org.openqa.selenium.interactions.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) |
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.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
Copyright © 2016. All rights reserved.