Now I’m doing this:
List els2 = getIOSDriver().findElementsByClassName(“XCUIElementTypeOther”);
String email = els2.get(31).getAttribute(“label”);
and findElementsByClassName is very slow. Is there a way to click on that element without searching for it?
It doesn’t have a static id so I can’t search by that. It changes depending on a user’s email.
(//XCUIElementTypeOther[@name="Email 2018-06-21-09-31-52@example.com "])[1]
created
Jun '18
last reply
Jun '18
- 2
replies
- 190
views
- 2
users
- 1
link