Is it possible to find an element by location using IOSDriver

I am using XPath currently and that changes every time i run the test, I cannot use Name, as property is not defined for that element. Please suggest me what is the Best way to interact with such element.

findElementByLocator is not Available for IOSDriver.

I am using Java and Eclipse on mac.


@Venkatesh you could you use the co-ordinates to tap on a particular location of the screen. But it will limited to a single device. If the device changed the co-ordinates need to change

driver.tap(int countofFingers, int x co-ordinate, int y co-ordiante, int arg)

by the way i’m using java

Thanks jagadeesh, will check it out.