title: Match a View in WebView from Espresso in Android
body: <p>I want to match the user name text field inside a WebView which loads the Salesforce login page (but can also be applied to any other page with text fields).</p>
  
  <p><img src="https://i.stack.imgur.com/tGZWU.png" alt="enter image description here"></p>
  
  <p>I have tried with:</p>
  
  <pre><code>onView(withHint("User Name")).perform(typeText("test@sf.com"));
  </code></pre>
  
  <p>But that doesn't work. Any better idea?</p>