title: executing javascript in awesomium to click on a div
body: <p>I'm using Awesomium in C# winforms app to click on a div inside the webpage.</p>
  
  <p>the following script works just fine if you type it directly in google chrome:</p>
  
  <pre><code>javascript: document.getElementById('ac_play').click();
  </code></pre>
  
  <p>but when I try to execute it in awesomium using either:</p>
  
  <pre><code>webControl1.ExecuteJavascript("document.getElementById('ac_play').click();");
  </code></pre>
  
  <p>or this:</p>
  
  <pre><code>webControl1.LoadURL("javascript: document.getElementById('ac_play').click();");
  </code></pre>
  
  <p>It's not working. Which makes me think - does Awesomium support "div clicks" or not? Or maybe there is another reason why it's not working?</p>
  
  <p>I've also tried to execute the code:</p>
  
  <ul>
  <li>on LoadCompleted event (to make sure that the page is loaded completely)</li>
  <li>by typing the script manually in "addressBox1" (native awesomium "address bar" control)</li>
  </ul>
  
  <p>As usual - nothing is working.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I've tested the same javascript in GeckoFX and it's not working there either.. Any workaround?</p>
  
  <p><strong>EDIT2</strong></p>
  
  <p>Standart WebBrowser control executes the script perfectly! (Although it's using IE5 or so.. that's why I'd like to see Awesomium solution working).</p>
  
  <p>P.S. it was working in webcontrol and now it's not ;( how do i reset it?
  P.P.S. i removed the cache in IE but it's sooo unreliable to use standard WebBrowser..</p>