Problem with two elements with same accessibility id and value. Appium + Python + iOS

Greetings!
Please help!
I have two elements on one view, both of them have the same type, name, label, accessibility id.
So when i want to click to second element - i cant. I can click only element on the top.
The only difference between this two elements - value. But how can i find element by value?
So how can i distinguish them and work with both ?
Thanks!

Hi,

Take the list or size of thelabel, accessibility id then you can able to click

1 Like

Not clear eonugh(Can you show me how can i write it in python code ?

Hi,

I am in java fallow this step

List MobileElement size =driver.findElementByid(“xxxxx”).getsize();
size.getindex().click();

Thanks
Ram

1 Like