title: Awesomium click by tag C#
body: <pre><code>&lt;a class="button" style="letter-spacing: -1px" href="/home" data-executing="0"&gt;Go Home&lt;/a&gt;    
  </code></pre>
  
  <p>I am trying to get Awesomium to click a certain button, Take the example above there is no ID only a tag </p>
  
  <pre><code>&lt;a - and attribute being Go Home   
  </code></pre>
  
  <p>I have been reading on how to do this and they say to use this:</p>
  
  <pre><code>web.ExecuteJavascript(@"$('a').trigger('click');");    
  </code></pre>
  
  <p>This doesn't work for me, it doesn't produce the click. It could be because my test site has many tags using</p>
  
  <pre><code>&lt;a     
  </code></pre>
  
  <p>Is there a way to click this button by using the attribute of "a" being "Go Home" in Awesomium? I have also tried this and it also did not work:</p>
  
  <pre><code>        private void timer_Tick(object sender, EventArgs e)
      {
  
          if (web.IsDocumentReady)
          {
  
              dynamic document = web.ExecuteJavascriptWithResult("document");
              dynamic submit = document.getElementsByTagName('a');
              submit.Invoke("click");
          }
      }    
  </code></pre>