title: Espresso: How to select element on webview using text
body: <p>I am writing some UI test cases using espresso.
  My app contains a webview and I am able to perform webClick on the button inside the webview using the following code that uses the element Id to find the element:</p>
  
  <pre><code>    onWebView()
              .withElement(findElement(Locator.ID, "expandbtn"))
              .perform(webClick());
  </code></pre>
  
  <p>Lets say the webview has the button with text "Expand".
  Is it possible to perform the webClick using the text on the button instead of locator id? </p>