I have text already scrapped into a list A=[' Workers east', ' Worker united']. What I'm trying to do is from A, find in the browser the words Worker united and click on it, I'm trying this:
driver.find_element_by_partial_link_text("%s" %(A[1])).click()
But is not working, it doesn´t find the element. Below is the HTML Code and working with:
<ul style="display: block;">
<li class="">
<a class="text active" href="/es/news/UK/London/workers-united---team">
Workers United - Team
<div style="top: -1.5px;" class="marker"></div>
</a>
</li>
I will appreciate any help you could give me, thanks!