sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #43465
[Question #655435]: Coordinates x, y of image to be tapped on are beyond the base image
New question #655435 on Sikuli:
https://answers.launchpad.net/sikuli/+question/655435
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.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.