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

Tap to an element for 250 milliseconds

Category: Appium
public void tapByElement (AndroidElement androidElement) {
        TouchAction touch = new TouchAction(driver);
            touch.tap(tapOptions().withElement(element(androidElement))).waitAction(waitOptions(ofMillis(250))).perform();
    }

Leave a Reply

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