Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

Press by coordinates

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();
    }

Leave a Reply

Your email address will not be published. Required fields are marked *