I am trying to swipe down contact screen but its not working.
Here is the code I have tried.
public void Swipedown() throws InterruptedException
{
Use this code to swipe up and down
TouchAction t=new TouchAction(driver);
//long press, for atleast 1 sec first and move the object
WebElement First=driver.findElementByXPath("//*[@***First Element Path***]");
WebElement second=driver.findElementByXPath("//*[@***Second Element Path***]");
t.longPress(longPressOptions().withElement(element(First)).withDuration(ofSeconds(3))).moveTo(element(second)).release().perform();
Hope this helps :)