title: Watir-webdriver How to click first element by class in a carousel of links?
body: <p>I have a carousel of links all with the same class however some of them cannot be seen (not visible) due to how the carousel works.</p>
  
  <p>The code I have tried using is:</p>
  
  <pre><code>browser.link(:class, "nochevron").first.click
  </code></pre>
  
  <p>However I keep getting an error saying .first is un-defined even though I have seen others using it.</p>
  
  <p>My question is how to click the first link in a carousel of links that have the same class.</p>