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