AirtestProject / AirtestProject/Poco

Currently only supports port forwarding for locally connected iOS devices

Open
#610 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

**描述问题bug**
ios通过wda启动后,连接测试,返回:Currently only supports port forwarding for locally connected iOS devices

```
File "/Users/topjoy/jenkins_home/workspace/DaoAutoUI/.venv/lib/python3.9/site-packages/poco/proxy.py", line 233, in __getitem__
nodes = self._do_query(multiple=True, refresh=True)
File "/Users/topjoy/jenkins_home/workspace/DaoAutoUI/.venv/lib/python3.9/site-packages/poco/proxy.py", line 888, in _do_query
raise PocoNoSuchNodeException(self)
poco.exceptions.PocoNoSuchNodeException: Cannot find any visible node by query UIObjectProxy of "SecureTextField"
```

**复现步骤**
通过pycharm连接测试ios的真机设备

**预期效果**
在本地测试可以正常运行,推送上线后不可用,不确定是因为版本原因还是什么原因?
**相关截图**
(贴出遇到问题时的截图内容,如果有的话)

**python 版本:** `python3.9`

**poco 版本:** `1.0.94`
> poco版本通过`pip freeze`可以命令可以查到

**设备:**
- 型号: mac
- 系统:mac os
- (别的信息)

**其他相关环境信息**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.