18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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?
_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?