title: How to get xpath for dropdown button which contains an "edit" link?
body: <p>I am not having much luck with this xpath stuff :-( I'm trying to click on a dropdown button which contains an "Edit" link. Can you please help. HTML below</p>
  
  <pre><code>&lt;button type="button" class="btn btn-sm btn-info dropdown-toggle" data-toggle="dropdown"&gt;
  &lt;span class="caret"&gt;&lt;/span&gt;
  &lt;/button&gt;
  &lt;ul class="dropdown-menu" role="menu"&gt;
     &lt;li&gt;&lt;a href="/message/edit/958046" class="edit-message-link"&gt;Edit&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a href="/message/remove/958046" class="remove-message-link"&gt;Delete&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;
        &lt;a href="/message/enable-replies/958046" class="enable-replies-link hidden"&gt;Enable replies&lt;/a&gt;
        &lt;a href="/message/disable-replies/958046" class="disable-replies-link"&gt;Disable replies&lt;/a&gt;
     &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>