Hi everebody!
Long waited Java-client version 4.0.0 has been released. There are many changes. The maiin difference is that it is not compatible with Appium server v<1.5.0. Also some API was improved.
Change list:
all code marked
@Deprecated
was removed. Java client won't support old servers (v<1.5.0)
anymore.the ability to start an activity using Android intent actions, intent categories, flags and arguments
was added toAndroidDriver
. Thanks to @saikrishna32120 for the contribution.scrollTo()
andscrollToExact()
became deprecated. They are going to be removed in the next release.The interface
io.appium.java_client.ios.GetsNamedTextField
and the declared methodT getNamedTextField(String name)
are deprecated as well. They are going to be removed in the next release.Methods
findElements(String by, String using)
andfindElement(String by, String using)
oforg.openga.selenium.remote.RemoteWebdriver
are public now. Thanks to @SrinivasanTarget30.the
io.appium.java_client.NetworkConnectionSetting
class was marked deprecatedthe enum
io.appium.java_client.android.Connection
was added. All supported network bitmasks are defined there.Android. Old methods which get/set connection were marked
@Deprecated
Android. New methods which consume/return
io.appium.java_client.android.Connection
were added.the
commandRepository
field is public now. The modification of theMobileCommand
Constructors like
AppiumDriver(HttpCommandExecutor executor, Capabilities capabilities)
were added toio.appium.java_client.android.AndroidDriver
andio.appium.java_client.ios.IOSDriver
The refactoring of
io.appium.java_client.internal.JsonToMobileElementConverter
. Now it acceptsorg.openqa.selenium.remote.RemoteWebDriver
as the constructor parameter. It is possible to re-useio.appium.java_client.android.internal.JsonToAndroidElementConverter
orio.appium.java_client.ios.internal.JsonToIOSElementConverter
by RemoteWebDriver when it is needed.Constructors of the abstract
io.appium.java_client.AppiumDriver
were redesigned. Now they require
a subclass ofio.appium.java_client.internal.JsonToMobileElementConverter
. Constructors ofio.appium.java_client.android.AndroidDriver
andio.appium.java_client.ios.IOSDriver
are same still.The
pushFile(String remotePath, File file)
was added to AndroidDriverFIX of TouchAction. Instances of the TouchAction class are reusable now
FIX of the swiping issue (iOS, server version >= 1.5.0). Now the swiping is implemented differently by
AndroidDriver and IOSDriver. Thanks to @truebit5 and @nuggit325 for the catching.the project was integrated with maven-checkstyle-plugin5. Thanks to @SrinivasanTarget30 for the work
source code was improved according to code style checking rules.
the integration with
org.owasp dependency-check-maven
was added. Thanks to @saikrishna32120
for the work.the integration with
org.jacoco jacoco-maven-plugin
was added. Thanks to @SrinivasanTarget30 for the contribution.
Tons of thanks to @SrinivasanSekar ( @SrinivasanTarget30) for the helping and some new ideas.
Also now the project has WIKI pages55. These docs are suppused to be updated according to new changes.
created
May '16
last reply
Aug '16
- 19
replies
- 6.5k
views
- 6
users
- 6
likes
- 16
links