This is the Java language bindings for writing Appium Tests that conform to WebDriver Protocol
Since v9 the client only supports Java 11 and above. Follow the v8 to v9 Migration Guide in order to streamline the migration process.
Since version 8 Appium Java Client had several major changes, which might require to update your client code. Make sure to follow the v7 to v8 Migration Guide in order to streamline the migration process.
Add the following to pom.xml:
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>${version.you.require}</version>
<scope>test</scope>
</dependency>Add the following to build.gradle:
dependencies {
testImplementation 'io.appium:java-client:${version.you.require}'
}Java client project is available to use even before it is officially published to maven central. Refer jitpack.io
Add the following to pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>Add the dependency:
<dependency>
<groupId>com.github.appium</groupId>
<artifactId>java-client</artifactId>
<version>latest commit ID from master branch</version>
</dependency>