I have keys in the application that have the same picture (for example: archive, menu, etc.). They are not signed - just a clickable picture with a redirect to the corresponding menu.
They look the same on all screens, but they can change their location on the smartphone screen (android and ios).
Can you please tell me if there is a tool / class / method so that you can add this image to the project and use it for clicking in each test?
For example, save the “Archive” image in some AnyScreen class in the form of the “clickOnArchive” function and when it is called, Appium will search for such an image and click on it ???
This would make it easier to write code, since you need to constantly look up the index or coordinates of a new location in order to write a test.
Thank you in advance for your help!