AirtestProject / Airtest

UI Automation Framework for Games and Apps
http://airtest.netease.com/
Apache License 2.0
8.29k stars 1.3k forks source link

元素的visible属性为false时,如何使用poco进行定位并操作 #1220

Open jingmingg opened 5 months ago

jingmingg commented 5 months ago

Describe the bug 当元素的元素的visible属性为false时,如何使用poco进行定位并操作,目前进行点击时会报错:poco.exceptions.PocoNoSuchNodeException: Cannot find any visible node by query UIObjectProxy of "text=福利"

Expected behavior visible=false时也可以进行操作

Screenshots

企业微信截图_17187853875243

python version: python3.8

airtest version: 1.2.17

You can get airtest version via pip freeze command.

Smartphone (please complete the following information):