title: Trigger click event after parsing html page
body: <p>I can programmatically go to an url, get the response and parse it. But can I trigger the javascript click event of an html element of that response? For example, let's say the response contains an element:</p>
  
  <p><code>&lt;div id="test"&gt;Click me&lt;/div&gt;</code></p>
  
  <p>And the page handles the click event like:</p>
  
  <p><code>$("#test").on('click'.....</code> etc.</p>
  
  <p>So, is there a way that I can trigger that event after I get the html response?</p>