How to scroll down to a particular element having text ?

Mallikharjunarao P
appium-tips
Published in
1 min readNov 29, 2018

Answer:

Code Snippet:
==========================================
str ===> Which text contains by the element
driver.findElementsByAndroidUIAutomator(“new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().textContains(\”” + str +”\”).instance(0))”);

Reference:(Click Here)

--

--