How can I scroll down to the bottom of a page
Posted: 06 Jan 2017 16:52
I want to use the function "Control UI" to click a button in the settings page of a running app. Unfortunately height of the settings page is larger than the screen heigth and since the button is at the very bottom of the settings page it is not visible on the screen as long as I don't scroll down to the bottom. It seems that the "click" action only works on buttons which are visible on the screen, so I guess I first have to scroll down to the bottom of the screen. How can I do this with the "Control UI" function? I read about the "scrollForward" function but don't understand how it works.
Is there a way to scroll down to the bottom of the current page to show the desired button or is there another possibility to click a button which is not visible on the screen?
And for completeness. What exactly does the "scrollForward" function? It seems to scroll the screen somehow but I don't understand exactly how.
Thanks for any response.
Is there a way to scroll down to the bottom of the current page to show the desired button or is there another possibility to click a button which is not visible on the screen?
And for completeness. What exactly does the "scrollForward" function? It seems to scroll the screen somehow but I don't understand exactly how.
Thanks for any response.