# -*- encoding=utf8 -*-
__author__ = "pan"
from airtest.core.api import *
auto_setup(__file__)
from poco.drivers.android.uiautomation import AndroidUiautomationPoco
poco = AndroidUiautomationPoco(use_airtest_input=True, screenshot_each_action=False)
while True:
touch(Template(r"tpl1669467705145.png", record_pos=(0.453, -0.379), resolution=(1080, 2340)))
sleep(1.0)
touch(Template(r"tpl1669467399584.png", record_pos=(-0.366, 0.142), resolution=(1080, 2340)))
sleep(1.0)
touch(Template(r"tpl1669467496164.png", record_pos=(0.21, 0.094), resolution=(1080, 2340)))
sleep(1.0)
poco.swipe([0.5,0.7],[0.5,0.1],duration=1)
sleep(1.0)
Airtest IDE 批量删除QQ空间说说
4 min read