scrollUntilVisible for fragments

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:

  1. Checks for the visibility of the element described by the selector

  2. Swipe up from the center of the screen

  3. 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.

Last updated

Was this helpful?