csushiye

Results 4 comments of csushiye

红米note13 pro,miui 14.0.1,安卓13 uiautomator2 version: 2.16.25 同样的代码,没有报错,但不会生成视频文件,但安卓11版本的vivo手机可以,是不是和安卓的版本有关

> iOS:///[http://127.0.0.1:{port}/?udid={device_id}](http://127.0.0.1:%7Bport%7D/?udid=%7Bdevice_id%7D) 加上设备ID试试 应该还是有问题的,看IOS的建立连接逻辑是默认使用8100端口,如果port采用非8100端口,调用start_recording录屏时还是会报如下错误: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/bigo/.local/share/virtualenvs/uibrick-iYraLzmP/lib/python3.9/site-packages/urllib3/connectionpool.py", line 715, in urlopen httplib_response = self._make_request( File "/Users/bigo/.local/share/virtualenvs/uibrick-iYraLzmP/lib/python3.9/site-packages/urllib3/connectionpool.py", line...

> 请问你们连接ios 机器的时候, 有没有遇到这个报错 currently only supports port forwarding for locally connected iOS devices > > 你是不是当时还连了其他设备,而其他设备没有把wda正常启动,然后是会报这个错的;这个堆栈的中调用函数逻辑是会有个遍历当前连接的所有设备,然后调用wda的包和每个设备进行连接,获取设备的udid和你目的的udid比较,如果和某个设备建立连接失败,就会报这个错误

也遇到类似的问题,手机iphone12,ios14