随笔分类 - appium
摘要:1 driver.current_activity #获取当前activity 2 3 driver.current_package #获取包名 4 5 driver.lock(seconds=2) #息屏 6 7 #收起虚拟键盘 8 driver.hide_keyboard() 9 10 #获取屏
阅读全文
摘要:1 from selenium.webdriver.support.ui import WebDriverWait 2 from selenium.webdriver.support import expected_conditions as ES 3 4 def is_toast_exist(dr
阅读全文
摘要:1 class handleswipe(): 2 """ 3 屏幕滑动操作 4 """ 5 6 def __init__(self, driver, function, num=None): 7 self.driver = driver 8 self.function = function 9 se
阅读全文

浙公网安备 33010602011771号