title: Watir open javascript onclick link
body: <p>I want to follow a link specified on the target page, the problem is that the link is embeeded on a <code>detail_open</code> onclick javascript function like this:</p>
  
  <pre><code>&lt;tr class="odd highlight" onclick="detail_open('g_0_SzK23oET', null, null, null, '2016-2017', false)"&gt;...&lt;/tr&gt;
  </code></pre>
  
  <p>I have tried <code>browser1.table(:class =&gt; 'head_to_head h2h_mutual').trs[3].fire_event :click</code> but without success</p>
  
  <p>Also tried simply <code>browser1.table(:class =&gt; 'head_to_head h2h_mutual').trs[3].click</code>but nothing happens</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>This is the actual URL:
  link = "<a href="http://www.flashscore.com/match/2TYx9kph/#h2h;overall" rel="nofollow noreferrer">http://www.flashscore.com/match/2TYx9kph/#h2h;overall</a>"</p>
  
  <p>I want to click on the links in rows of table with class <code>head_to_head h2h_mutual</code></p>