Coordinates x,y of image to be tapped on are beyond the base image, i.e. non-existent

Asked by Jai P on 2017-08-07

I am using Appium and SikuliX to tap on certain elements on the phone screen where I have no ids provided. I use the *driver.getScreenshotAs(OutputType.FILE);* Appium method to take the screenshot of the current phone screen and then use the SikuliX Finder to match my saved subset image.
When I use those coordinates to tap on the screen, Appium cannot locate it since the coordinates are beyond the base screenshot, for ex: on the iPhone 6s where X,Y = 375,667, the matched coordinates show 483,987.
I can use a targetOffset to tap on the place I want to but then I wouldn't need SikuliX for this. I can just save the coordinates of all such elements and pass them to Appium to tap on directly.

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.