How to identify X and Y coordinates for Swipe, Pinch To Zoom In At Position, Pinch To Zoom out At Position actions in mobile

Hi There,

I want to Swipe from left, right, top, bottom. How can I get coordinates for this, Is there any function defined for this or we need to write any custom code.

 

Hi there.
I am new to this but what I notice:
if You take a look on objects properties, just before the xpath You will notice size of element but x and y also.
So choose an element You want to swipe on, check properties, than go to TC and define keywords arguments accordingly.
It’s theory - never dane this myself - but I will check it too :slight_smile:
Hope it will get us somewhere :slight_smile: