zhiva: (Default)
[personal profile] zhivaWednesday, November 16th, 2011 10:25 am
Apple's documentation:

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.

April 2025

S M T W T F S
  12345
6789101112
13141516171819
202122 23242526
27282930   
Page generated Friday, July 4th, 2025 07:40 pm
Powered by Dreamwidth Studios