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.

enhancement request

rj412rj412 Members
edited November -1 in Sahi - Open Source
would like to request additional api's for:
_left and _right, _over (in addition to _near, _under, _in)

in my code, I find that I always need to count from the left from the 'known' element....
so it looks something like this
_image(5, _near(_div("Result")))

counting is not a problem (initially)...until the index is changed, in this case a new _image has been introduced.

but if there is a _right, then I know it's always going to be the first one from a specify element
_image(0, _right(_div("Element1FromTheMiddle")))
_image(0, _left(_div("Element2AtTheEndofLine")))

Similarly for _over , would be useful if the known element is below the element in question.

OR even maybe a:
_underRight
_overLeft
etc...
(although this would probably need multiple indexes)
Sign In or Register to comment.