airtest.core.ios.instruct_cmd module

class InstructHelper(uuid=None)[源代码]

基类:object

ForwardHelper class or help run other Instruction

static builtin_iproxy_path()[源代码]
usb_device

Whether the current iOS uses the local USB interface, if so, return the wda.usbmux.Device object 当前iOS是否使用了本地USB接口,如果是,返回wda.usbmux.Device对象 Returns: wda.usbmux.Device or None

tear_down()[源代码]
setup_proxy(**kwargs)
do_proxy(local_port, device_port)[源代码]

Start do proxy of ios device and self device 目前只支持本地USB连接的手机进行端口转发,远程手机暂时不支持 :returns: None

do_proxy_usbmux(lport, rport)[源代码]