I'm having a hard time to find a way to select the link below with Selenium by it's name. I need to go by it's name as I will need to identify and select more of it. The identification for this case is: POOL22LATECH
The xpath and CSS selector for this is related to the position on the website and not the name.
Can someone please help?
As an observation, I can't use I can't use the 'tt4', I need to identify by it's name...which, in this case is: POOL22LATECH
Thanks in advance.
HTML:
<a id="tt4" href="javascript:openViewReviewPool('20422', 'Submit for approval', 'fetchPoolAttributes', '1H');">POOL22LATECH<br>20422</a>
XPATH:
//*[@id="tt4"]
CSS Selector:
#poolWithID_3 > td:nth-child(2) > a:nth-child(1)