openatx / facebook-wda

Facebook WebDriverAgent Python Client Library (not official)
MIT License
1.72k stars 266 forks source link

[ IOS ]通过下标定位元素存在问题 #32

Closed holysor closed 7 years ago

holysor commented 7 years ago

例如一个页面有多个Cell或Button/StaticText等属性元素,假设用d(className="Cell")进行定位。 用exists属性检查元素是否存在,d(className="Cell")[0].exists正常返回True,而d(className="Cell")[1].exists返回False,1以上目前都返回False