I have the following html with multiple links that use similar class and id and I want to click on the link which has 'toh' with python selenium.
<div Class="ibox-content">
<ul Class="sortable-list policy-list">
<li Class="success-element" id ng-click=
"showReport($event,policy['toh'].policyCode,policy['toh']
.policyName,policy['toh'].policyCurrencyCode);" style=
"background-color: rgba(37, 128, 219, 0.2);">
TOH
</li>
<li Class="success-element" id ng-click=
"showReport($event,policy['cuso'].policyCode,policy['cuso']
.policyName,policy['cuso'].policyCurrencyCode);" style=
"background-color: rgba(37, 128, 219, 0.2);">
CUSO
</li>

