title: how to make uiscrollable find content-desc instead of text
body: <p>I'm trying to make a program to automatically respond to my emails within the gmail android app. I've gotten past the first initial steps but this is the next step : </p>
  
  <p>when the program detects no unread emails, SCROLL until it finds more.</p>
  
  <p>for this step, i am using the uiscrollable function : </p>
  
  <pre><code>driver.findElementByAndroidUIAutomator("new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().textContains(\""+A+"\").instance(0))");
  Thread.sleep(2500);`
  </code></pre>
  
  <p>but instead of working at this point, the program scrolls through all the unread emails</p>
  
  <p>is there anyway to make this uiscrollable function find the content-desc instead of finding the text?</p>
  
  <p><a href="https://i.stack.imgur.com/zU3qE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zU3qE.png" alt="enter image description here"></a></p>
  
  <p>thanks</p>