How to automate pull down refresh functionality ?

Mallikharjunarao P
appium-tips
Published in
1 min readNov 28, 2018

Answer:

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

Get the apk :

Reference: (Click Here)

--

--