import uiautomator2 as u2
import cv2

#d = u2.connect('956b23ec')
#print(d.device_info)
#d.healthcheck()
#d.app_install('http://imtt.dd.qq.com/16891/9D5F1DBA326B2A33CF587448AFE84F56.apk?fsname=cn.eliteu.android_1.2.3_123.apk&csr=1bbd')
#d.disable_popups()
#d.disable_popups(False)
#d.app_start('cn.eliteu.android')
#print(d.current_app())
#print(d.serial)
#d.screen_off()
#d.info.get('screenOn')
#d.unlock()
#orientation = d.orientation
#print(orientation)
#d.open_notification()
#d.open_quick_settings()

from utils.getyaml import yl
"""
print(yl['setup']['page'])
import uiautomator2 as u2

d= u2.connect('956b23ec')
print(d.device_info)
print(yl['login_t']['input'])
"""
import uiautomator2 as u2
d = u2.connect('956b23ec')
print(d.device_info)
d.app_install('http://imtt.dd.qq.com/16891/9D5F1DBA326B2A33CF587448AFE84F56.apk?fsname=cn.eliteu.android_1.2.3_123.apk&csr=1bbd')