Java-client 5.0.2 released

Hi guys!
Java-client version 5.0.0 has been released.

There are 9 BETA versions have been released sinse Dec’16 and the list of changes is really long. General differences from v4.x:

  • Java 8
  • Support of Selenium 3.x
  • Support of UIAtomator 2.0
  • Support of iOS XCUIT automation
  • Support of Windows automation.
  • Enhanced Page object model.
  • removal of legacy/invalid methods

The list of latest changes:

  • [REFACTOR] [BREAKING CHANGE] 5.0.0 finalization. Removal of obsolete code. #660
  • [ENHANCEMENT] Enable nativeWebTap setting for iOS. #658
  • [ENHANCEMENT] The getCurrentPackage was added. #657
  • [ENHANCEMENT] The toggleTouchIDEnrollment was added. #659
  • [BUG FIX] The clearing of existing actions/parameters after perform is invoked. #663
  • [BUG FIX] #669 missed parameters of the OverrideWidget were added:
    • iOSXCUITAutomation
    • windowsAutomation
  • [BUG FIX] ByAll was re-implemented. #680
  • [BUG FIX] [BREAKING CHANGE] The issue of compliance with Selenium grid 3.x was fixed. This change is breaking because now java_client is compatible with appiun server v>=1.6.5. Issue report #655. FIX #682
  • [BUG FIX] issues related to latest Selenium changes were fixed. Issue report #696. Fix: #699.
  • [UPDATE] Dependency update
    • selenium-java was updated to 3.5.x
    • org.apache.commons-lang3 was updated to 3.6
    • org.springframework.spring-context was updated to 4.3.10.RELEASE
  • [ENHANCEMENT] Update of the touch ID enroll method. The older PerformsTouchID#toggleTouchIDEnrollment was marked Deprecated.
    It is recoomended to use PerformsTouchID#toggleTouchIDEnrollment(boolean) instead. #695

The next expected version is 5.1.0. There is the scope of pended pull-requests and issues.

UPD: Release 5.0.1

  • [BUG FIX] The fix of the element genering on iOS was fixed. Issue report: #704. Fix: #705

UPD 2: Release 5.0.2

  • [BUG FIX] Dependency conflict resolving. The report: #714. The fix: #717. This change may affect users who use htmlunit-driver and/or phantomjsdriver. At this case it is necessary to add it to dependency list and to exclude old selenium versions.

Thanks a lot for the good news :slight_smile:
@SergeyTichomirov can you provide link to repo cause I can’t find it here yet :slight_smile: thanks a lot :wink:

You can find it there

It will be appear at the place ( that you shown. It needs for some time.

What does this entail?

We’ve been thinking of changing our page objects to static methods instead of using @iOSFindBy and declaring a bunch of objects at the top of each Page Object class.

the removed functions link swipe/zoom how to use ?

1 Like

I guess use TouchAction class…

Also there is some feature which may help you to develop you own library of touch actions that will be suitable to your project. It is similar to ExpectedConditions/ExpectedConditions of Selenium