Skip to content

Conversation

@dabrynskiy
Copy link
Contributor

Some ViewActions require an element to be at least N% visible on the screen.
If the condition isn't met, we get an error.
To fix it (if scrolling is required after changing the screen), we add scrollTo().

In this PR added autoscroll for ViewActions where there's an "isDisplayedAtLeast" requirement.

I plan to research adding autoscroll for compose and uiautomator actions in the next PRs.

Alternative implementation in Kaspresso: autoscroll

@alex-tiurin alex-tiurin merged commit ce4ef55 into open-tool:master Oct 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants