摘要:
Start Screen Recording self.driver.start_recording_screen() Stop Screen Recording self.driver.stop_recording_screen() Find Element 在页面上搜索元素 el = self. 阅读全文
摘要:
Shake 在设备上执行摇动动作 self.driver.shake(); Lock(锁定设备) # Python self.driver.lock(); Unlock(解锁设备) self.driver.unlock(); Is Locked(设备是否锁定) self.driver.is_lock 阅读全文
摘要:
Push File 将文件上传到设备指定位置 dest_path = '/data/local/tmp/test_push_file.txt' data = bytes('This is the contents of the file to push to the device.', 'utf-8 阅读全文