Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Appium Java Client Version vs Selenium Version

Can any one please tell me how do I make sure which appium java-client jar version is compatible with which selenium jar version. I have tried a lot of different appium java-client versions and also selenium versions and I faced below issues :-

  1. org.openqa.selenium.remote.RemoteWebElement cannot be cast to io.appium.java_client.android.AndroidElement with java-client 4.1.2 ans selenium 3.9.1
  2. java.lang.NullPointerException with java-client 4.1.0 ans selenium 3.9.1
  3. java.lang.NoSuchMethodError with java-client 6.0.0 ans selenium 3.13.0
  4. java.lang.NoClassDefFoundError with java-client 6.0.0 ans selenium 3.9.1

The list is long.

I have tried a lot of thing and finally it worked for me with Java-client 2.1.0 and selenium version 2.45.0

These are old version and I want to work with newer once. Is there a way to find out which java-client version works perfectly with which selenium version ?

Is there any link where there is a list of it or something instead of try all permutation and combination?

like image 916
Pankaj Devrani Avatar asked Jul 19 '18 06:07

Pankaj Devrani


People also ask

Which Java version is compatible with Appium?

Versions 4.3 and up are supported via Appium's UiAutomator and UiAutomator2 libraries.

Does Appium work with Selenium 4?

In this Appium Conference session, Diego Molina, Software Engineer at Sauce Labs, demonstrates how Appium can be used with Selenium Grid 4 with an overview of how Grid 4 works, details on configuring Grid 4 to make it work with Appium, and tips for migrating from Grid 3 to Grid 4.

Can Appium client libraries be used to run regular Selenium sessions?

Of course, Appium client libraries only add functionality (in fact, they simply extend the standard Selenium clients), so they can still be used to run regular Selenium sessions.


1 Answers

You can follow the Appium news section to get updates about the concerned dependency for selenium - java.

Example: To know about the Java - Client 5.0.2 release and to know about it's dependency visit the below link

Java-client-5-0-2

You will find the update like this

Release update and changes

like image 63
Ashok kumar Ganesan Avatar answered Oct 24 '22 14:10

Ashok kumar Ganesan