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();
  Get the apk: https://www.google.com/url?q=http://search.maven.org/remotecontent?filepath%3Dcom/navercorp/pulltorefresh/sample/3.2.2/sample-3.2.2.apk&sa=D&source=hangouts&ust=1539068982276000&usg=AFQjCNHmfVRCdprrf46-u5-MOKdS4qJfBQ

Leave a Reply

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