scrollUntilVisible for fragments
Last updated
Was this helpful?
Last updated
Was this helpful?
Our friends at Amicara hit a problem with their app that Maestro couldn't natively solve. They wanted to use scrollUntilVisible
, but it wasn't working for them.
Now, under the hood, scrollUntilVisible works like this:
Checks for the visibility of the element described by the selector
Swipe up from the center of the screen
Go to step 1
Now, in Amicara's app, scrolling from the middle wouldn't work - only the bottom half of the app had scrollable elements.
Working with their test developers and other folks in the community, we developed a new version of scrollUntilVisible through native Maestro commands.