Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

link element with empty href is not clicking correctly with SAHI

I have a link element with href="" (empty href), how do I click this element?
_click(_link("Client Table")); // this step is clicking the link correctly and then taking the navigation to homepage

I need to click on the link n stay as it is. (Not navigating to home page)

i tried with _link, _listItem, _list, _span,_div etc. but none of them helped.

my outer html is like,

<a class="cUser" href="" ng-click="searchParam.value=x;searchParamValueChanged(searchParam);">
Client Table</a>


Is it possible to click this element just by text contained?
Sign In or Register to comment.