'''appium脚本'''
# from appium import webdriver
# import time,os
#
# desired_caps = {
#                 'platformName': 'Android',
#                 'platformVersion': '9',
#                 'deviceName': '79URX19315008342',
#                 'appPackage': 'com.tencent.mm',
#                 'appActivity': '.ui.LauncherUI',
#                 'automationName': 'Uiautomator2',
#                 # 'unicodeKeyboard': True,
#                 # 'resetKeyboard': True,
#                 'noReset': True,
#                 'chromeOptions': {'androidProcess': 'com.tencent.mm:appbrand0'}
#                 }
# driver = webdriver.Remote(r'http://127.0.0.1:4723/wd/hub', desired_caps)
# time.sleep(1)
# driver.find_element_by_id("com.tencent.mm:id/ckw").click()

