I suggest you to add a command for click relative similar green and pink box but that work with xpath
A similar command like this xclickrelative
There are a large cases when this command can hekp to detect an element, need only to find an anchor, the next element will be detect with near command.
This is a simple case:
If i want to click or store my image profile in the post in this forum how I can detect it ?
I know my username “newuserkantu” in the post but how I can click first image at left my username ?
With a relative click is very easy to do.
If you see the image of username on post do not contains my username “newuserkantu”
The very easy solution willl be:
Click first element at left of anchor
It click my image profile in the post and recognize it relative to my username and can not fails.
But i do not see any command to click relative to near another element anchor in ui vision with regular xpath.
I very appreciate a solution to help in this cases.