Click in a label that doesn't have name nor value in accessibility inspector

Hi.

I want to click in a label that doesn’t have name nor value, I dont know to click this element. I tried with coordinate x and y and it doesn’t work. Could you help me please?.

The easiest way is to ask a developer to set a "yourElement.AccessabilityLabel=“XXX” on the element you want to click on if you want to avoid using xpath.
Also, how do you interact with a element if it only has a value?
Regards

Hi, if a want to click an element I use this option driver.findElementByName(“Contraseña”).click(); I use Accesssibility inspector to get the value, but for this case that the element doesn`t have values I can’t click it. How can I get the xpath for an element in IOS?. Thanks.