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

Press by element

Category: Appium
public void pressByElement (AndroidElement element, long seconds) {
        TouchAction touch = new TouchAction(driver);
             touch.press(element(element))
            .waitAction(waitOptions(ofSeconds(seconds)))
            .release()
            .perform();
    }

Leave a Reply

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