Hello, I am using Ruby with appium_lib and I have done the following for scrolling
page.driver.appium_driver.find_element(:uiautomator, "new UiScrollable(new UiSelector().scrollable(true)).scrollForward()")
I am using UIAutomator UIScrollable methods and I want to get bool value, that is returned from scrollForward() . Is there any way to get value from UIAutomator script?
Here is a link where I found this https://developer.android.com/reference/androidx/test/uiautomator/UiScrollable#scrollforward_1