01 2019 档案

摘要:一、 Appium iOS API 1.1) WebDriverWait(self.driver, 10).until( EC.presence_of_element_located((AppiumBy.IOS_PREDICATE, "type == 'XCUIElementTypeStaticTe 阅读全文
posted @ 2019-01-31 17:35 jiguanghover 阅读(184) 评论(0) 推荐(0) 编辑
摘要:1. driver.findElement(MobileBy.AndroidUIAutomator("邀请")).click();2. driver.findElementById("resourceId").click();3. import io.appium.java_client.remot 阅读全文
posted @ 2019-01-30 16:47 jiguanghover 阅读(170) 评论(0) 推荐(0) 编辑
摘要:1.判断按钮状态 if d(resourceId="id",enabled=False): #判断当前按钮是否为未激活状态,为True则为激活状态2.获取toast提示语 d.toast.get_message(5.0, default="")3. 获取元素的属性 ele = d(resourceI 阅读全文
posted @ 2019-01-29 14:43 jiguanghover 阅读(583) 评论(0) 推荐(0) 编辑
摘要:问题一、java.lang.NoClassDefFoundError: org/openqa/selenium/remote/SessionNotFoundExceptionCaused by: java.lang.ClassNotFoundException: org.openqa.seleniu 阅读全文
posted @ 2019-01-04 09:28 jiguanghover 阅读(1071) 评论(0) 推荐(0) 编辑