How to automate pull down refresh functionality? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to automate pull down refresh functionality? ...

How to automate pull down refresh functionality?


Code Snippet:

TouchAction touch = new TouchAction(driver);

touch.press(driver.findElement(By.id("elementID on top"))).waitAction(Duration.ofMillis(2000)).moveTo(driver.findElement(By.id("ElementId on bottom"))).release().perform();

Leave a Reply

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