Skip to content

Commit 4bddab0

Browse files
Update README.md
1 parent 7042073 commit 4bddab0

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

README.md

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,48 @@ You can get it on [WIKI](https://github.com/appium/java-client/wiki)
8181
- API with default implementation. PR [#470](https://github.com/appium/java-client/pull/470)
8282
- Tools that provide _Page Object_ engines were redesigned. The migration to [repeatable annotations](http://docs.oracle.com/javase/tutorial/java/annotations/repeating.html). Details you can read there: [#497](https://github.com/appium/java-client/pull/497). [Documentation was synced as well](https://github.com/appium/java-client/blob/master/docs/Page-objects.md#also-it-is-possible-to-define-chained-or-any-possible-locators).
8383
- **[MAJOR ENHANCEMENT]**: Migration from Maven to Gradle. Feature request is [#214](https://github.com/appium/java-client/issues/214). Fixes: [#442](https://github.com/appium/java-client/pull/442), [#465](https://github.com/appium/java-client/pull/465).
84-
- **[MAJOR ENHANCEMENT]**: Now the `io.appium.java_client.AppiumDriver` can use an instance of any `io.appium.java_client.MobileBy` subclass for the searching. It should work as expected when current session supports the given selector. It will throw `org.openqa.selenium.WebDriverException` otherwise. [#462](https://github.com/appium/java-client/pull/462)
85-
- **[MAJOR ENHANCEMENT]**: The new interface `io.appium.java_client.FindsByFluentSelector` was added. [#462](https://github.com/appium/java-client/pull/462)
84+
- **[MAJOR ENHANCEMENT]****[MAJOR REFACTORING]**. Non-abstract **AppiumDriver** and **MobileElement**:
85+
- Now the `io.appium.java_client.AppiumDriver` can use an instance of any `io.appium.java_client.MobileBy` subclass for the searching. It should work as expected when current session supports the given selector. It will throw `org.openqa.selenium.WebDriverException` otherwise. [#462](https://github.com/appium/java-client/pull/462)
86+
- The new interface `io.appium.java_client.FindsByFluentSelector` was added. [#462](https://github.com/appium/java-client/pull/462)
87+
- API was redesigned:
88+
89+
these interfaces were marked deprecated and they are going to be removed [#513](https://github.com/appium/java-client/pull/513)[#514](https://github.com/appium/java-client/pull/514):
90+
- `io.appium.java_client.DeviceActionShortcuts`
91+
- `io.appium.java_client.android.AndroidDeviceActionShortcuts`
92+
- `io.appium.java_client.ios.IOSDeviceActionShortcuts`
93+
94+
instead following inerfaces were designed:
95+
- `io.appium.java_client.HasDeviceTime`
96+
- `io.appium.java_client.HidesKeyboard`
97+
- `io.appium.java_client.HidesKeyboardWithKeyName`
98+
- `io.appium.java_client.PressesKeyCode`
99+
- `io.appium.java_client.ios.ShakesDevice`
100+
- `io.appium.java_client.HasSessionDetails`
101+
_That was done because Windows automation tools have some features that were considered as Android-specific and iOS-specific._
102+
- `io.appium.java_client.CreatesSwipeAction`
103+
104+
The list of methods which were marked _deprecated_ and they are going to be removed
105+
- `AppiumDriver#swipe(int, int, int, int, int)`
106+
- `AppiumDriver#pinch(WebElement)`
107+
- `AppiumDriver#pinch(int, int)`
108+
- `AppiumDriver#zoom(WebElement)`
109+
- `AppiumDriver#zoom(int, int)`
110+
- `AppiumDriver#tap(int, WebElement, int)`
111+
- `AppiumDriver#tap(int, int, int, int)`
112+
- `AppiumDriver#swipe(int, int, int, int, int)`
113+
- `MobileElement#swipe(SwipeElementDirection, int)`
114+
- `MobileElement#swipe(SwipeElementDirection, int, int, int)`
115+
116+
redesign of `TouchAction` and `MultiTouchAction`
117+
- constructors were redesigned. There is no strict binding of `AppiumDriver` and `TouchAction` /`MultiTouchAction`. They can pass any instance of a class that implements `PerformsTouchActions`.
118+
- deprecated methods of `AppiumDriver`/`MobileElement` were moved to `TouchAction`/`MultiTouchAction`.
119+
- `io.appium.java_client.android.AndroidTouchAction` and `io.appium.java_client.ios.IOSTouchAction` were added. They create the swiping gesture. Both classes implement the new `io.appium.java_client.CreatesSwipeAction` API.
86120
- **[MAJOR ENHANCEMENT]**: The new interface `io.appium.java_client.FindsByIosNSPredicate` was added. [#462](https://github.com/appium/java-client/pull/462). With [@rafael-chavez](https://github.com/rafael-chavez) 's authorship.
87121
- **[MAJOR ENHANCEMENT]**: The new interface `io.appium.java_client.MobileBy.ByIosNsPredicate` was added. [#462](https://github.com/appium/java-client/pull/462). With [@rafael-chavez](https://github.com/rafael-chavez) 's authorship.
88122
- **[MAJOR ENHANCEMENT]**: The new interface `io.appium.java_client.FindsByWindowsAutomation` was added. [#462](https://github.com/appium/java-client/pull/462). With [@jonstoneman](https://github.com/jonstoneman) 's authorship.
89123
- **[MAJOR ENHANCEMENT]**: The new interface `io.appium.java_client.MobileBy.ByWindowsAutomation` was added. [#462](https://github.com/appium/java-client/pull/462). With [@jonstoneman](https://github.com/jonstoneman) 's authorship.
90124
- [ENHANCEMENT] Added the ability to set UiAutomator Congfigurator values. [#410](https://github.com/appium/java-client/pull/410).
91125
[#477](https://github.com/appium/java-client/pull/477).
92-
- [ENHANCEMENT] The `io.appium.java_client.HasSessionDetails` interface was added. It has methods implemented by default. This interface is implemented by AppiumDriver.
93126
- **[UPDATE]** to Selenium 3.0. [#489](https://github.com/appium/java-client/pull/489)
94127
- [ENHANCEMENT]. Additional methods which perform device rotation were implemented. [#489](https://github.com/appium/java-client/pull/489). [#439](https://github.com/appium/java-client/pull/439). But it works only for iOS in XCUIT mode. The feature request: [#7131](https://github.com/appium/appium/issues/7131)
95128
- [ENHANCEMENT]. TouchID Implementation (iOS Sim Only). Details: [#509](https://github.com/appium/java-client/pull/509)

0 commit comments

Comments
 (0)