title: Hover over a <span> value button and click on drop down option
body: <p>I have been working on this all day but couldn't make it work. I am navigating a website with VBA. I now have to hover over a span button and click on the pause link option.</p>
  
  <p>Here is the HTML code for the button/menu :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;span class='icon-gear'&gt;&lt;/span&gt;
    &lt;ul class='tooltip-menu gearbox'&gt;
      &lt;li class='action_visibility pause '&gt;
        &lt;a href="#" class="pause_link"&gt;Kill&lt;/a&gt;
      &lt;/li&gt;
      &lt;li class='action_visibility unpause hide'&gt;
        &lt;a href="#" class="unpause_link"&gt;Unpause&lt;/a&gt;
      &lt;/li&gt;
    &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The VBA code I have been writing was:</p>
  
  <pre><code>For Each obj In objIE.Document.getElementsByTagName("span")
    If obj.innerText = "Kill" Then
      obj.parentElement.Click
      Exit For
    End If
  Next
  </code></pre>
  
  <p>But without success. Any help would be greatly appreciated !</p>