appium-uiautomator2-driver
appium-uiautomator2-driver copied to clipboard
UiSelector being deprecated
Hi, I wanted to bring this into your attention that UiSelector is being deprecated in future releases for Android UiAutomator2. Please see https://developer.android.com/training/testing/other-components/ui-automator
If this is true, does that mean any locators using UiSelector will not work in future?
If yes, then would be good to also mark it deprecated soon in Appium so users can adapt their code bases accordingly with alternate locator strategies. Moreover to mark this upcoming deprecation here in docs as well and provide some alternate examples:- https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/uiautomator-uiselector.md
Moving forward, what would be the recommendation from Appium team to build android locators? Does Appium support building locators via other APIs such as with BySelector?
See also #13670