Looking to extract the dynamic value "3 Sent" from the html snippet provided. How can this be achieved?
<ul class="nav nav-tabs some-tabs">
<li class="active">
<a href="#accepted" data-toggle="tab">1 Accepted</a>
</li>
<li class="">
<a href="#sent" data-toggle="tab">3 Sent</a>
</li>
</ul>
EDIT: My apologies for any confusion, let me clarify my query.
The string "3 Sent" is volatile and subject to change, ranging from "1 Sent" to "2 Sent" and beyond. It is also a hyperlink that I wish to click on.
Thank you in advance.