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