![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Apple's documentation:
You'd think this method would be enough to make it possible to interact with UI element in Automation (it cannot interact with off-screen elements).
Nope.
If it's the last element, barely half of it is visible.
scrollToVisible
Scrolls until the specified element is visible in a container view.
You'd think this method would be enough to make it possible to interact with UI element in Automation (it cannot interact with off-screen elements).
Nope.
If it's the last element, barely half of it is visible.
tap()
'ing or setValue()
'ing this element hits the tab bar. So I have to check if it's the last element, and if so, scroll the view down.