Appium appium+ios 元素定位 MobileBy.IOS_PREDICATE

Soner · April 07, 2020 · 1717 hits

想问下这样 MobileBy.IOS_PREDICATE,除了

driver.find_element_by_ios_predicate("xxx == 'adf")

写法外,

return self.driver.find_element((MobileBy.IOS_PREDICATE,"name == 'xxx' AND visible == 'true' "))

这样写的话,会报错,是为什么呢?

No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up