androidpoco定义方法
from poco.drivers.android.uiautomation import AndroidUiautomationPoco
dev = connect_device("android:///" + devices)
Androidpoco = AndroidUiautomationPoco(device=dev, use_airtest_input=True, screenshot_each_action=False)
unitypcoo定义方法方法
from poco.drivers.unity3d import UnityPoco
dev = connect_device("android:///" + devices)
poco = UnityPoco(device=dev)
cocos-luapoco定义方法
from poco.drivers.std import StdPoco
poco = StdPoco()
cocos-js poco定义方法
from poco.drivers.cocosjs import CocosJsPoco
poco = CocosJsPoco()
iospoco定义方法
from poco.drivers.ios import iosPoco
poco = iosPoco()
StdPoco定义方法
from poco.drivers.std import StdPoco
from poco.utils.device import VirtualDevice
poco = StdPoco(15004, VirtualDevice("localhost"))
hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 »
poco对象生成的几种方式根据你使用不同的ui决定