public class EyesTouchScreen extends Object implements org.openqa.selenium.interactions.TouchScreen
Constructor and Description |
---|
EyesTouchScreen(com.applitools.eyes.Logger logger,
EyesSeleniumDriver driver,
org.openqa.selenium.interactions.TouchScreen touch) |
Modifier and Type | Method and Description |
---|---|
void |
doubleTap(org.openqa.selenium.interactions.Coordinates where)
Double tap action.
|
void |
down(int x,
int y) |
void |
flick(org.openqa.selenium.interactions.Coordinates where,
int xOffset,
int yOffset,
int speed) |
void |
flick(int xSpeed,
int ySpeed) |
void |
longPress(org.openqa.selenium.interactions.Coordinates where) |
void |
move(int x,
int y) |
void |
scroll(org.openqa.selenium.interactions.Coordinates where,
int xOffset,
int yOffset) |
void |
scroll(int xOffset,
int yOffset) |
void |
singleTap(org.openqa.selenium.interactions.Coordinates where)
A tap action.
|
void |
up(int x,
int y) |
public EyesTouchScreen(com.applitools.eyes.Logger logger, EyesSeleniumDriver driver, org.openqa.selenium.interactions.TouchScreen touch)
public void singleTap(org.openqa.selenium.interactions.Coordinates where)
singleTap
in interface org.openqa.selenium.interactions.TouchScreen
where
- Where to tap.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.Coordinates where, int xOffset, int yOffset)
scroll
in interface org.openqa.selenium.interactions.TouchScreen
public void doubleTap(org.openqa.selenium.interactions.Coordinates where)
doubleTap
in interface org.openqa.selenium.interactions.TouchScreen
where
- Where to double click.public void longPress(org.openqa.selenium.interactions.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.Coordinates where, int xOffset, int yOffset, int speed)
flick
in interface org.openqa.selenium.interactions.TouchScreen
Copyright © 2020. All rights reserved.