How to long press on the element?
public void longPressOnElement(AppiumDriver driver, WebElement elment) {
new TouchActions(driver).longPress(elment).perform();
}
Posted on October 17, 2019
By Shibu Panda
public void longPressOnElement(AppiumDriver driver, WebElement elment) {
new TouchActions(driver).longPress(elment).perform();
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it. Privacy Policy
Accept