I am required to get a list of XCUIElement which are exist in current view. For example,
let app = XCUIApplication()
let allElements = app.otherElements.allElementsBoundByIndex
returns the full list of xcuielements, but i want to get only the elements that are hittable and exists in current view.
Aucun commentaire:
Enregistrer un commentaire