poco.drivers.ios package
- class iosDumper(client)[source]
Bases:
FrozenUIDumper
- json_parser(node, screen_size, switch_flag=False, ori='PORTRAIT')[source]
- Parameters:
node – node info {}
screen_size – ios.windows_size()
switch_flag – If it is an ipad , when on the desktop, all coordinates must be converted to vertical screen coordinates
ori – wda [‘PORTRAIT’, ‘LANDSCAPE’, ‘UIA_DEVICE_ORIENTATION_LANDSCAPERIGHT’, ‘UIA_DEVICE_ORIENTATION_PORTRAIT_UPSIDEDOWN’]
- Returns: