title: Android: How to interact with the contents of a WebView?
body: <p>Is there a way to programmatically interact with the contents of a <code>WebView</code>?</p>
  
  <p>For example, how could my app:</p>
  
  <ol>
  <li><p>respond to an event (such as button clicked on a web page)</p></li>
  <li><p>iterate through all the <code>INPUT</code> elements in a page and retrieve their contents?</p></li>
  <li><p>Find all <code>DIV</code> elements with the class <code>status</code> and change their content?</p></li>
  </ol>
  
  <p>Thanks!</p>