经过ios Appium Inspect查看到的元素信息以下:ios
eList=self.driver.find_elements_by_ios_predicate('type == “XCUIElementTypeStaticText”')经过eList[index]获取元素,发现这个方法遍历元素的顺序不太同样