I am trying to automate a native android app using Appium. I am using the java client for the same. Below are the dependencies that I have included. Since I am using version 7 of the java client, there's no support for scroll and swipe method. SO alternatively how do I scroll to a particular element?? I have come across some code snippets using TouchAction class, but I just want to know if there's any alternative solution apart from the TouchAction class?? Maven dependency -
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8</version>
</dependency>
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>7.0.0</version>
</dependency>