随笔分类 -  appium Python

摘要:webdriver contexts(self) 说明:返回多个会话内容 使用:driver.contexts current_context(self) 说明:返回单个会话的内容 使用:driver.current_context context(self) 返回current_context(s 阅读全文
posted @ 2017-01-03 17:32 七月的尾巴_葵花 阅读(3048) 评论(0) 推荐(2) 编辑
摘要:import unittest from appium import webdriver from appium.common.exceptions import NoSuchContextException import desired_capabilities class ContextSwitchingTests(unittest.TestCase): def setUp(s... 阅读全文
posted @ 2016-12-31 00:02 七月的尾巴_葵花 阅读(1135) 评论(0) 推荐(0) 编辑
摘要:import unittest from time import sleep from appium import webdriver import desired_capabilities class ChromeTests(unittest.TestCase): def setUp(self): desired_caps = { 'pl... 阅读全文
posted @ 2016-12-30 23:47 七月的尾巴_葵花 阅读(522) 评论(0) 推荐(0) 编辑