appium / appium-ios-device

Tools for interacting with iOS devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requesting feature assistivetouch Enable and disable

krishtoautomate opened this issue · comments

iphone supports enable and disable of assistive touch by parsing boolean to com.apple.Accessibility.AssistiveTouchEnabledByiTunes

tools like tidevice already implemented and it is nice to have in webdriveragent with api control.

btw, what is the purpose for the assistive touch?
I know of the method, but I'm keen to know of the use-case since the assistive touch's materials are not interactable via automation. To turn it off in automation? @krishtoautomate

one of the use case is appSwitcher can be accessible only when assistiveTouch is enabled which ll expose shotcut to appSwitcher window.

why cannot it be part of webdriveragent? cant we call this api from inside phone?

Correct, afaik, it cannot.
If we figure out the private api etc, potentially could but I met security exception in some settings before. The same thing could happen.

Btw, maybe the appSwitcher shortcut can tap via manual interaction so far, not via Appium/WDA

Understood. We can close this, if this cant help appSwitcher accessibility