想问下这样 MobileBy.IOS_PREDICATE,除了

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

写法外,

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

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


↙↙↙阅读原文可查看相关链接,并与作者交流