18 January 2026:


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.

SahiPro 4.2 changed behaviour

JirkaJirka Members
edited November -1 in Sahi - Open Source
Hi,

I used in previous versions following expression:

if(_exists(_link("Logout",_in(_span("/.*:pageHeader:pt_logout1/"))))) { ...

Since SahiPro v4.2, I'm getting the "parameter passed to _in was not found" error in case that the condition should return false. Is there way how to rewrite this and make it work again?
I don't want to remove the _in statement, because there could be several "Logout" links on the page.

Thanks
Jirka
Sign In or Register to comment.