You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to scroll inside a android.widget.ScrollView using the Mobile Scroll Gestures the method directly returns false and thus stopping the scrolling.
[AndroidUiautomator2Driver@fe2d (6adddfbe)][0m Executing method 'mobile: scrollGesture'"
[AndroidUiautomator2Driver@fe2d (6adddfbe)][0m Proxying [POST /appium/gestures/scroll] to [POST http://127.0.0.1:8200/session/49a372f4-3b90-4168-9bf0-1468588ae106/appium/gestures/scroll] with body: {'area':{'left':0,'top':238,'width':1080,'height':1861},'direction':'down','percent':1}"
[AndroidUiautomator2Driver@fe2d (6adddfbe)][0m Got response with status 200: {'sessionId':'49a372f4-3b90-4168-9bf0-1468588ae106','value':false}"
[AndroidUiautomator2Driver@fe2d (6adddfbe)][0m Responding to client with driver.execute() result: false"
Inspecting the element with Appium Inspector reveals that the element should be still scrollable:
When using in Java boolean canScrollMore = (Boolean) ((JavascriptExecutor) driver).executeScript("mobile: scrollGesture", ImmutableMap.of( "left", 100, "top", 100, "width", 200, "height", 200, "direction", "down", "percent", 3.0 ));
isn't this the same method you mentioned as a workaround?
This is not working for the mentioned Android elements.
When trying to scroll inside a
android.widget.ScrollView
using the Mobile Scroll Gestures the method directly returns false and thus stopping the scrolling.Inspecting the element with Appium Inspector reveals that the element should be still scrollable:
The method is working totally fine, when scrolling a
android.widget.ListView
orandroid.widget.RecyclerView
in the same App.Is there an known issue with these types of elements or do I need to use other methods?
appium-uiautomator2-driver-version: 2.42.2
appium-version: 2.4.1
The text was updated successfully, but these errors were encountered: