title: Phantomjs: Get element without id
body: <p>html:</p>
  
  <pre><code>...
  &lt;a href="#" class="stuff"&gt;stuff&lt;/a&gt;
  ...
  &lt;a id="yui_random_numbers" href="#" class="stuff"&gt;stuff&lt;/a&gt; 
  </code></pre>
  
  <p>2nd line is from outerHTML/source which page.content doesnt provide</p>
  
  <p>As far as I am aware these 'buttons' have to be clicked with a custom mouse event, but since this one doesn't have an ID I am unsure how to get the element in the first place.</p>
  
  <p>code:</p>
  
  <pre><code>page.settings.userAgent = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
  page.open(address, function(status) {
      if (status === 'success') {
          page.evaluate(function() {
              click(document.getElementById('wtf is dat id doe?'))
          })
      }
  })
  </code></pre>
  
  <p>click function looks like <a href="https://stackoverflow.com/questions/15739263/phantomjs-click-an-element">this</a> one in the answer.</p>