Category:
Appium
public void pressByCoordinates (int x, int y, long seconds) {
TouchAction touch = new TouchAction(driver);
touch.press(point(x,y))
.waitAction(waitOptions(ofSeconds(seconds)))
.release()
.perform();
}