【发布时间】:2017-02-28 11:06:45
【问题描述】:
我需要获取当前视图中存在的 XCUIElement 列表。 例如,
let app = XCUIApplication()
let allElements = app.otherElements.allElementsBoundByIndex
返回 xcuielements 的完整列表,但我只想获取可点击且存在于当前视图中的元素。
【问题讨论】:
标签: ios xcode testing automated-tests xcode-ui-testing