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'))