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.
Click on a image ( _xy usage )
Hi
we need to know how we can use the _xy() API.
I wasn't able to find any instruction about it ( and i washed my glasses very well before !!! ).
Can anyone give us some instructions apropose this API?
TIA
Massimo
we need to know how we can use the _xy() API.
I wasn't able to find any instruction about it ( and i washed my glasses very well before !!! ).
Can anyone give us some instructions apropose this API?
TIA
Massimo
Comments
Thanks for pointing that out.
API _xy(element, x, y)
Notes Specifies the coordinates on element where the event is fired.
Eg. _click(_xy(_button("id"), 10, 20)) clicks inside the button, 10px from the left and 20 pixels from the top.
Negative values can be given to specify offset from right and bottom.
Eg. _click(_xy(_button("id"), -5, -10)) clicks inside the button, 5px from the right and 10px from the bottom.
We have updated the documentation here: http://sahi.co.in/w/browser-accessor-apis
Regards,
Narayan