From dcc1275a2e682300a0c3195fe53bc92452e5fa23 Mon Sep 17 00:00:00 2001 From: Jonah Stiennon Date: Fri, 26 Sep 2014 14:16:26 -0700 Subject: [PATCH] better error message for java UiScrollable parsing exception --- .../io/appium/android/bootstrap/utils/UiScrollableParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/devices/android/bootstrap/src/io/appium/android/bootstrap/utils/UiScrollableParser.java b/lib/devices/android/bootstrap/src/io/appium/android/bootstrap/utils/UiScrollableParser.java index 7f918b835..9065921b2 100644 --- a/lib/devices/android/bootstrap/src/io/appium/android/bootstrap/utils/UiScrollableParser.java +++ b/lib/devices/android/bootstrap/src/io/appium/android/bootstrap/utils/UiScrollableParser.java @@ -279,7 +279,7 @@ public class UiScrollableParser { } else { - throw new UiSelectorSyntaxException("Must only call methods on UiScrollable which return UiScrollable or UiObject objects"); + throw new UiSelectorSyntaxException("Must only call the 'scrollIntoView' method OR methods on UiScrollable which return UiScrollable or UiObject objects"); } } }