appium / WebDriverAgent

A WebDriver server for iOS and tvOS
Other
1.2k stars 377 forks source link

feat: Add coordinate-based APIs for gesture calls #843

Closed mykola-mokhnach closed 8 months ago

mykola-mokhnach commented 8 months ago

BREAKING CHANGE: The /wda/tap/:uuid endpoint has been replaced by /wda/element/:uuid/tap and /wda/tap ones

Currently the way these APIs are called from xcuitest is suboptimal as we have to lookup for the application object every time they are called without elementId, which creates unnecessary overhead and is potentially error-prone (see https://github.com/appium/appium/issues/19739)

The change ensures WDA assigns activeApplication instance itself without making other unnecessary calls.

After this change is published it is necessary to update xcuitest driver to use the new API endpoints for cases where elementId is unset

github-actions[bot] commented 8 months ago

:tada: This PR is included in version 6.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: