[Appium] disableSuppressAccessibilityService

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

2 Comments

  1. Unknown's avatar Anonymous says:

    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?

    1. KazuCocoa's avatar KazuCocoa says:

      Do you mean in addition to appium:disableSuppressAccessibilityService in https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#other ?

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.