airtest.core.ios.instruct_cmd module
- class InstructHelper(uuid=None)[source]
Bases:
object
ForwardHelper class or help run other Instruction
- property 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
- setup_proxy(device_port)[source]
Map a port number on an iOS device to a random port number on the machine 映射iOS设备上某个端口号到本机的随机端口号
- Parameters:
device_port – The port number to be mapped on the ios device
Returns: