Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listview滑动到下一页获取的还是第一页的数据,并没有刷新 #1061

Open
czl0325 opened this issue Dec 12, 2024 · 0 comments

Comments

@czl0325
Copy link

czl0325 commented Dec 12, 2024

  • 手机型号 vivo 真我GT Neo5 SE
  • uiautomator2的版本号 3.2.6
  • 手机截图 无
  • 相关日志(Python控制台错误信息, adb logcat完整信息, atxagent.log日志)
  • 最好能附上可能复现问题的代码。

使用uiautomator2操作淘宝app,有一个listview,我执行to_btn = d(className="android.widget.Button", text="去完成") 获取所有列的去完成按钮。接着执行d.swipe_ext(Direction.FORWARD)滑到下一页,再去获取去完成按钮,发现返回的数据还是第一页的数据,这是什么问题呢。

复现问题的代码:https://github.com/czl0325/coin11-tb/blob/main/淘宝芭芭农场.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant