title: Locating using id fails but using link it succeeds to click
body: <p>For the following link, </p>
  
  <pre><code>&lt;td style="padding-top:3px" align="center"&gt;
  GNWL200/WL102
  &lt;br/&gt;
  &lt;a id="17235-SL-GN-0" href="javascript:jpBook($('#17235-SL-GN-0'),'17235','HSRA','SRT','22-9-2017','SL','GN',3,false,0,0,'S');" tabindex="1"&gt;Book Now&lt;/a&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>If I uses the link as shown below, it succeeds to click</p>
  
  <pre><code>browser.element(link: "Book Now").click
  </code></pre>
  
  <p>But if I uses the id as shown below it says element is not visible(not present). May I know why?</p>
  
  <pre><code>browser.link(:id, "17235-SL-GN-0").click
  </code></pre>
  
  <p>Error</p>
  
  <pre><code>Uncaught exception: element located, but timed out after 30 seconds, waiting for #&lt;Watir::Anchor: located: true; {:id=&gt;"17235-SL-GN-0", :tag_name=&gt;"a"}&gt; to be present
      C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.8.4/lib/watir/elements/element.rb:633:in `raise_present'
      C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.8.4/lib/watir/elements/element.rb:672:in `rescue in element_call'
      C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.8.4/lib/watir/elements/element.rb:684:in `element_call'
      C:/Ruby23/lib/ruby/gems/2.3.0/gems/watir-6.8.4/lib/watir/elements/element.rb:136:in `click'
      C:/Users/rajagopalan.m/RubymineProjects/SeleniumLearning/Rest/TrainTicketBooking.rb:18:in `&lt;top (required)&gt;'
  </code></pre>