ScrollToText only scroll up and does not scroll to the particular text

Hi, i have this problem for executing automation test scripts produced in Katalon Windows version, but when i try to execute it on Linux machine, it cannot perform the ScrollToText properly, as it suppose to scroll to the text instead of only scroll up and not scrolling down to look for the text. Anyone please help?

@wayne.yong Hi,
try this :
WebUI.scrollToElement(findTestObject( 'put your repository /put your Element ’ ), 3)

i hope it will help you :slight_smile: :slight_smile:

you can try this:
AppiumDriver<?> driver = MobileDriverFactory.getDriver()
for (int i = 0; i <= 5; i++) {
Mobile.swipe(…, …, …, …)
if (driver.findElementsByXPath(“xpath”).size() > 0) {
return
}
}

i hope it will help you :slight_smile: :slight_smile: