This is my element that I need to click on. But it has no element ID or class. Is there a way I can click on this element using the Name or Label value? Thanks
Yes. You don’t put what language, so this link includes a bunch. On iOS, ID = name:
Sorry, I should have put that I’m using javascript.
So I’ve noticed that the following is in the link provided;
let elementOne = await
driver.elementByAccessibilityId("SomeAccessibilityID");
let elementTwo = await driver.element("id", "SomeID");
But the element I’d like to click doesn’t have an ID, just a Name and Label?
In the link I provided, click on Selector Strategies:
https://appium.io/docs/en/commands/element/find-elements/index.html#selector-strategies