Appium 1.18.0 finally got disableSuppressAccessibilityService capability. It allows users to run tests against the app under test that requires accessibility service such as TalkBack.
In general, the service works only one, but UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES flag relaxes the limitation. The disableSuppressAccessibilityService capability sets the flag. Then, Appium can run tests with accessibility services. Yey. (Of course, this flag works on both UIAutomator2 and Espresso drivers.
Mobile platform has been matured, so we cannot ignore accessibility stuff to provide services widely. This flag will help to get more power, I hope.
https://github.com/appium/appium/releases/tag/v1.18.0
Happy testing
Do we know when this flag will be added to the driver documentation so that users can not waste time not knowing that appium does this to their app? What was the rationalle for this change while we are tlkign abotu this?
Do you mean in addition to
appium:disableSuppressAccessibilityServicein https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#other ?